null_blk: remove unused nullb device
authorJens Axboe <axboe@kernel.dk>
Sat, 10 Nov 2018 20:03:52 +0000 (13:03 -0700)
committerJens Axboe <axboe@kernel.dk>
Sat, 10 Nov 2018 20:03:52 +0000 (13:03 -0700)
commit8e18ebef4dd4c83cea65730821da423553ed6019
treea9a959c96c38aa13183057a5b5b7d36ecf269039
parent22ce0a7ccf23d55d1fdaa2974002f8b5ae765665
null_blk: remove unused nullb device

The compiler rightfully complains:

drivers/block/null_blk_main.c: In function ‘null_complete_rq’:
drivers/block/null_blk_main.c:647:16: warning: unused variable ‘nullb’ [-Wunused-variable]
  struct nullb *nullb = rq->q->queuedata;
                ^~~~~

Fixes: 49f6613632f9 ("nullb: remove leftover legacy request code")
Signed-off-by: Jens Axboe <axboe@kernel.dk>
drivers/block/null_blk_main.c