diff options
author | Roel Kluin <roel.kluin@gmail.com> | 2010-08-11 03:01:17 +0200 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2010-08-11 17:59:00 +0200 |
commit | d8187b945aa4ed9ea298518e3dac691ea09724e5 (patch) | |
tree | 003fb86fa4b9e5b4419482263709689a63e11377 /drivers/lguest | |
parent | g_NCR5380: fix broken MMIO compilation (diff) | |
download | linux-d8187b945aa4ed9ea298518e3dac691ea09724e5.tar.xz linux-d8187b945aa4ed9ea298518e3dac691ea09724e5.zip |
dc395x: decrease iteration for tag_number of max_command in start_scsi()
The tag_number reaches dcb->max_command + 1 after the loop, but when
the tag_number equals dcb->max_command an error message is already
issued. The last iteration therefore appears obsolete.
Signed-off-by: Roel Kluin <roel.kluin@gmail.com>
Cc: Oliver Neukum <oliver@neukum.name>
Cc: James Bottomley <James.Bottomley@HansenPartnership.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers/lguest')
0 files changed, 0 insertions, 0 deletions