null_blk: remove set but not used variable 'q'
authorYueHaibing <yuehaibing@huawei.com>
Tue, 16 Oct 2018 01:45:26 +0000 (01:45 +0000)
committerJens Axboe <axboe@kernel.dk>
Tue, 16 Oct 2018 02:02:59 +0000 (20:02 -0600)
commitde038597be8809619c4f17d70e86dab936bb1a10
treeb2acf2d5bab808c6c2dadab48587c0fb85622fd6
parent8f94004e2a51a3ea195cf3447eb5d5906f36d8b3
null_blk: remove set but not used variable 'q'

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

drivers/block/null_blk_main.c: In function 'end_cmd':
drivers/block/null_blk_main.c:609:24: warning:
 variable 'q' set but not used [-Wunused-but-set-variable]

It not used any more after commit
e50b1e327aeb ("null_blk: remove legacy IO path")

Signed-off-by: YueHaibing <yuehaibing@huawei.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
drivers/block/null_blk_main.c