summaryrefslogtreecommitdiffstats
path: root/drivers/block
diff options
context:
space:
mode:
authorMikulas Patocka <mpatocka@redhat.com>2017-11-10 18:29:34 +0100
committerJens Axboe <axboe@kernel.dk>2017-11-11 03:55:57 +0100
commit15f7b41f70ddcca3b555bd0fdc7c8da7466b517e (patch)
tree71b151de0093bf73dee06441989b2ba2a858135c /drivers/block
parentblk-mq: only run the hardware queue if IO is pending (diff)
downloadlinux-15f7b41f70ddcca3b555bd0fdc7c8da7466b517e.tar.xz
linux-15f7b41f70ddcca3b555bd0fdc7c8da7466b517e.zip
brd: remove unused brd_mutex
Remove unused mutex brd_mutex. It is unused since the commit ff26956875c2 ("brd: remove support for BLKFLSBUF"). Signed-off-by: Mikulas Patocka <mpatocka@redhat.com> Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'drivers/block')
-rw-r--r--drivers/block/brd.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/block/brd.c b/drivers/block/brd.c
index 2d7178f7754e..c1cf87718c2e 100644
--- a/drivers/block/brd.c
+++ b/drivers/block/brd.c
@@ -60,7 +60,6 @@ struct brd_device {
/*
* Look up and return a brd's page for a given sector.
*/
-static DEFINE_MUTEX(brd_mutex);
static struct page *brd_lookup_page(struct brd_device *brd, sector_t sector)
{
pgoff_t idx;