From: Tomas Henzl Date: Fri, 29 Apr 2011 14:28:24 +0000 (+0200) Subject: [SCSI] arcmsr: simplify some double loops in sleeping functions X-Git-Tag: v3.0-rc1~383^2~39 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8b7eb86f61a10132aad7f90e89a15dc89e495d9e;p=pandora-kernel.git [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 Acked-by: Nick Cheng Signed-off-by: James Bottomley --- Reading git-diff-tree failed