summaryrefslogtreecommitdiffstats
path: root/drivers/block/floppy.c
diff options
context:
space:
mode:
authorJens Axboe <axboe@kernel.dk>2018-11-18 23:42:48 +0100
committerJens Axboe <axboe@kernel.dk>2018-11-18 23:42:48 +0100
commitfce15a609f8f30cfacfaf684729add9582be780b (patch)
treee04561bb872a8e92868b0aa34a7cafe89f8c11ea /drivers/block/floppy.c
parentmmc: stop abusing the request queue_lock pointer (diff)
downloadlinux-fce15a609f8f30cfacfaf684729add9582be780b.tar.xz
linux-fce15a609f8f30cfacfaf684729add9582be780b.zip
floppy: remove now unused 'flags' variable
With the locking removed, it's unused. Kill it. Fixes: 503f620f0cb8 ("floppy: remove queue_lock around floppy_end_request") Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'drivers/block/floppy.c')
-rw-r--r--drivers/block/floppy.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/block/floppy.c b/drivers/block/floppy.c
index 218099dd8e44..cad339ec9c19 100644
--- a/drivers/block/floppy.c
+++ b/drivers/block/floppy.c
@@ -2231,7 +2231,6 @@ static void request_done(int uptodate)
{
struct request *req = current_req;
struct request_queue *q;
- unsigned long flags;
int block;
char msg[sizeof("request done ") + sizeof(int) * 3];