summaryrefslogtreecommitdiff
path: root/drivers/scsi/osst_detect.h
diff options
context:
space:
mode:
authorTomas Henzl <thenzl@redhat.com>2011-04-29 14:28:24 (GMT)
committerJames Bottomley <James.Bottomley@suse.de>2011-05-01 21:28:28 (GMT)
commit8b7eb86f61a10132aad7f90e89a15dc89e495d9e (patch)
tree8bbd5229a29967f6ff7a0497457cf47f14d3c700 /drivers/scsi/osst_detect.h
parent134a4e27a2c4372f23b94fd3be041133cb69b52a (diff)
downloadlinux-fsl-qoriq-8b7eb86f61a10132aad7f90e89a15dc89e495d9e.tar.xz
[SCSI] arcmsr: simplify some double loops in sleeping functions
I removed outer loops in ...wait_msgint_ready the sleeptime and retrycount are in fact never changed so I changed them into defines. In arcmsr_flush_hba_cache is a loop removed, which printed the same printk 100 times, one line in log is enough I think. The arcmsr_sleep_for_bus_reset has lost a functionality with the latest patches, The only thing the function does is a long sleep, so it's replaced with a ssleep. [jejb: checkpatch fixes] Signed-off-by: Tomas henzl <thenzl@redhat.com> Acked-by: Nick Cheng <nick.cheng@areca.com.tw> Signed-off-by: James Bottomley <James.Bottomley@suse.de>
Diffstat (limited to 'drivers/scsi/osst_detect.h')
0 files changed, 0 insertions, 0 deletions