All of lore.kernel.org
 help / color / mirror / Atom feed
* - block-ccissc-remove-pointless-curr_queue-calculation.patch removed from -mm tree
@ 2008-08-06 20:56 akpm
  0 siblings, 0 replies; only message in thread
From: akpm @ 2008-08-06 20:56 UTC (permalink / raw)
  To: hare, mike.miller, mm-commits


The patch titled
     block/cciss.c: remove pointless curr_queue calculation
has been removed from the -mm tree.  Its filename was
     block-ccissc-remove-pointless-curr_queue-calculation.patch

This patch was dropped because it was merged into mainline or a subsystem tree

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@suse.de>

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@suse.de>
Cc: Mike Miller <mike.miller@hp.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
---

 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@suse.de are

aic7xxx-introduce-dont_generate_debug_code-keyword-in-aicasm-parser.patch
aic7xxx-update-reg-files.patch
aic7xxx-update-_shipped-files.patch


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2008-08-06 20:56 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-08-06 20:56 - block-ccissc-remove-pointless-curr_queue-calculation.patch removed from -mm tree akpm

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.