floppy: remove now unused 'flags' variable
authorJens Axboe <axboe@kernel.dk>
Sun, 18 Nov 2018 22:42:48 +0000 (15:42 -0700)
committerJens Axboe <axboe@kernel.dk>
Sun, 18 Nov 2018 22:42:48 +0000 (15:42 -0700)
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>
drivers/block/floppy.c

index 218099dd8e44f7a5c68276c8910f88943ebf2cc4..cad339ec9c19c37b6d3f03c9aaf5f785280fbf6f 100644 (file)
@@ -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];