Skip to contentSkip to conversation

blk-mq: Remove unused variable

PATCH In review Keith Busch 2 participants 4 messages Jan 18, 2017 Block layer

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 blk-mq: Remove unused variable

---
 block/blk-mq.c | 1 -
 1 file changed, 1 deletion(-)
block/blk-mq.c +0 -1
index a8e67a1..c3400b5 100644
@@ -912,7 +912,6 @@ bool blk_mq_dispatch_rq_list(struct blk_mq_hw_ctx *hctx, struct list_head *list)
 static void blk_mq_process_rq_list(struct blk_mq_hw_ctx *hctx)
 {
 	LIST_HEAD(rq_list);
-	LIST_HEAD(driver_list);
 
 	if (unlikely(blk_mq_hctx_stopped(hctx)))
 		return;
Signature · 1 line
2.5.5
#2 lore raw
Quoted 8 lines · Jens Axboe
Quoted 3 lines · Keith Busch

Does it cause a warning anywhere? If not, I'd rather not apply it, since it'll cause a merge conflict for 4.11 (and the problem doesn't exist there).

Ah screw it, the fact that we have that in 4.10 is an eye sore. I'd rather deal with the conflict, I'll apply it for 4.10. Thanks Keith.

Signature · 1 line
Jens Axboe
#3 lore raw
Quoted 6 lines · Jens Axboe
Quoted 5 lines · Jens Axboe
Quoted 3 lines · Keith Busch
Quoted 7 lines
Quoted 3 lines

Does it cause a warning anywhere? If not, I'd rather not apply it, since it'll cause a merge conflict for 4.11 (and the problem doesn't exist there).

Ah screw it, the fact that we have that in 4.10 is an eye sore. I'd rather deal with the conflict, I'll apply it for 4.10. Thanks Keith.

Okay, thanks. I was just clearing my backlog of emails and this was on my todo list from a couple weeks ago, but I didn't noticed 4.11 corrected this in the mq scheduler set.