Commit 8e18ebef authored by Jens Axboe's avatar Jens Axboe

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: 49f66136 ("nullb: remove leftover legacy request code")
Signed-off-by: default avatarJens Axboe <axboe@kernel.dk>
parent 22ce0a7c
......@@ -644,8 +644,6 @@ static void null_cmd_end_timer(struct nullb_cmd *cmd)
static void null_complete_rq(struct request *rq)
{
struct nullb *nullb = rq->q->queuedata;
end_cmd(blk_mq_rq_to_pdu(rq));
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment