summaryrefslogtreecommitdiff
path: root/drivers/block/brd.c
diff options
context:
space:
mode:
authorMikulas Patocka <mpatocka@redhat.com>2017-11-10 12:29:34 -0500
committerJens Axboe <axboe@kernel.dk>2017-11-10 19:55:57 -0700
commit15f7b41f70ddcca3b555bd0fdc7c8da7466b517e (patch)
tree71b151de0093bf73dee06441989b2ba2a858135c /drivers/block/brd.c
parent79f720a751cad613620d0237e3b44f89f4a69181 (diff)
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/brd.c')
-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;