Searched hist:"416 dc9ed206bba09807300ee5f155a81cebbd4a1" (Results 1 – 1 of 1) sorted by relevance
/openbmc/linux/drivers/ata/ |
H A D | libata-eh.c | diff 416dc9ed206bba09807300ee5f155a81cebbd4a1 Tue Oct 30 20:17:03 CDT 2007 Tejun Heo <htejun@gmail.com> libata: cosmetic clean up / reorganization of ata_eh_reset()
Clean up and reorganize ata_eh_reset() to ease further changes.
* Cache ARRAY_SIZE(ata_eh_reset_timeouts) in @max_tries. * Cache link->flags in @lflags. * Move failure handling block to the end of the function and unnest both success and failure handling blocks.
Signed-off-by: Tejun Heo <htejun@gmail.com> Signed-off-by: Jeff Garzik <jeff@garzik.org>
|