The patch titled block/cciss.c: remove pointless curr_queue calculation has been added to the -mm tree. Its filename is block-ccissc-remove-pointless-curr_queue-calculation.patch Before you just go and hit "reply", please: a) Consider who else should be cc'ed b) Prefer to cc a suitable mailing list as well c) Ideally: find the original patch on the mailing list and do a reply-to-all to that, adding suitable additional cc's *** Remember to use Documentation/SubmitChecklist when testing your code *** See http://www.zip.com.au/~akpm/linux/patches/stuff/added-to-mm.txt to find out what to do about this The current -mm tree may be found at http://userweb.kernel.org/~akpm/mmotm/ ------------------------------------------------------ Subject: block/cciss.c: remove pointless curr_queue calculation From: Hannes Reinecke <hare@xxxxxxx> curr_queue is a local variable in a for loop, and it's being initialized at the start of each loop. So any assignment at the end of the loop is pointless. Signed-off-by: Hannes Reinecke <hare@xxxxxxx> Cc: Mike Miller <mike.miller@xxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> --- drivers/block/cciss.c | 2 -- 1 file changed, 2 deletions(-) diff -puN drivers/block/cciss.c~block-ccissc-remove-pointless-curr_queue-calculation drivers/block/cciss.c --- a/drivers/block/cciss.c~block-ccissc-remove-pointless-curr_queue-calculation +++ a/drivers/block/cciss.c @@ -1292,8 +1292,6 @@ static void cciss_check_queues(ctlr_info h->next_to_run = curr_queue; break; } - } else { - curr_queue = (curr_queue + 1) % (h->highest_lun + 1); } } } _ Patches currently in -mm which might be from hare@xxxxxxx are origin.patch aic7xxx-introduce-dont_generate_debug_code-keyword-in-aicasm-parser.patch aic7xxx-update-reg-files.patch aic7xxx-update-_shipped-files.patch block-ccissc-remove-pointless-curr_queue-calculation.patch -- To unsubscribe from this list: send the line "unsubscribe mm-commits" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html