floppy: remove set but not used variable 'q'
authorYueHaibing <yuehaibing@huawei.com>
Mon, 18 Feb 2019 08:42:32 +0000 (08:42 +0000)
committerJens Axboe <axboe@kernel.dk>
Thu, 28 Feb 2019 21:05:58 +0000 (14:05 -0700)
commit6dc8746d7124c14bd86679ead7e64614263212c9
treecee77331630f48feaa8aa0d79ea9a65aff4cbfc6
parentbf7c7a04014678c6880642936e3d420cdfe453bc
floppy: remove set but not used variable 'q'

Fixes gcc '-Wunused-but-set-variable' warning:

drivers/block/floppy.c: In function 'request_done':
drivers/block/floppy.c:2233:24: warning:
 variable 'q' set but not used [-Wunused-but-set-variable]

It's never used and can be removed.

Acked-by: Jiri Kosina <jkosina@suse.cz>
Signed-off-by: YueHaibing <yuehaibing@huawei.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
drivers/block/floppy.c