block/cciss.c: remove pointless curr_queue calculation
commit756fcab27756f32722b748e2aff3393eef9a589d
authorHannes Reinecke <hare@suse.de>
Tue, 5 Aug 2008 20:01:08 +0000 (5 13:01 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Tue, 5 Aug 2008 21:33:46 +0000 (5 14:33 -0700)
tree73ab952ebaaa41d22b38f28af5f3f78b5d55e200
parent594a8819774b09ee5bf72d23300489459ff1f882
block/cciss.c: remove pointless curr_queue calculation

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>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/block/cciss.c