From: Tejun Heo Date: Wed, 31 Oct 2007 01:17:03 +0000 (+0900) Subject: libata: cosmetic clean up / reorganization of ata_eh_reset() X-Git-Tag: v2.6.24-rc2~48^2~4 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=416dc9ed206bba09807300ee5f155a81cebbd4a1;p=pandora-kernel.git 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 Signed-off-by: Jeff Garzik --- Reading git-diff-tree failed