summaryrefslogtreecommitdiffstats
path: root/block/blk-core.c
diff options
context:
space:
mode:
authorOmar Sandoval <osandov@fb.com>2017-03-21 08:56:05 -0700
committerJens Axboe <axboe@fb.com>2017-03-21 10:03:08 -0600
commit0315b159085621d2ff72dbf69ca6fb4a5b32bae2 (patch)
treedc221b845edfce8f3cdc2bc44dab112463320a7b /block/blk-core.c
parent7d8d00140715a115193bf502fa3b0cfe620f0dd9 (diff)
downloadop-kernel-dev-0315b159085621d2ff72dbf69ca6fb4a5b32bae2.zip
op-kernel-dev-0315b159085621d2ff72dbf69ca6fb4a5b32bae2.tar.gz
block: remove extra calls to wbt_exit()
We always call wbt_exit() from blk_release_queue(), so these are unnecessary. Signed-off-by: Omar Sandoval <osandov@fb.com> Signed-off-by: Jens Axboe <axboe@fb.com>
Diffstat (limited to 'block/blk-core.c')
-rw-r--r--block/blk-core.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/block/blk-core.c b/block/blk-core.c
index d772c22..e8a9bc0 100644
--- a/block/blk-core.c
+++ b/block/blk-core.c
@@ -889,7 +889,6 @@ out_exit_flush_rq:
q->exit_rq_fn(q, q->fq->flush_rq);
out_free_flush_queue:
blk_free_flush_queue(q->fq);
- wbt_exit(q);
return -ENOMEM;
}
EXPORT_SYMBOL(blk_init_allocated_queue);
OpenPOWER on IntegriCloud