projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
79f720a
)
brd: remove unused brd_mutex
author
Mikulas Patocka
<mpatocka@redhat.com>
Fri, 10 Nov 2017 17:29:34 +0000
(12:29 -0500)
committer
Jens Axboe
<axboe@kernel.dk>
Sat, 11 Nov 2017 02:55:57 +0000
(19:55 -0700)
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>
drivers/block/brd.c
patch
|
blob
|
history
diff --git
a/drivers/block/brd.c
b/drivers/block/brd.c
index 2d7178f7754edddf06278e46e87cc9aefc6d4427..c1cf87718c2e043a454d984a21cb8a5931761d87 100644
(file)
--- 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;