summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJens Axboe <axboe@kernel.dk>2018-11-18 15:42:48 -0700
committerJens Axboe <axboe@kernel.dk>2018-11-18 15:42:48 -0700
commitfce15a609f8f30cfacfaf684729add9582be780b (patch)
treee04561bb872a8e92868b0aa34a7cafe89f8c11ea
parentf5d72c5c55bc392523cbdcdedd575c280203d31c (diff)
downloadlinux-fce15a609f8f30cfacfaf684729add9582be780b.tar.bz2
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>
-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];