Tejun Heo 416dc9ed20 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>
2007-11-03 08:46:54 -04:00
..
2007-10-17 08:42:52 -07:00
2007-10-29 11:33:05 +01:00
2007-10-29 17:27:50 -04:00
2007-10-16 09:43:09 -07:00
2007-10-19 11:53:42 -07:00
2007-10-20 01:34:40 +02:00
2007-10-20 01:55:58 +02:00
2007-10-25 15:02:50 +10:00
2007-10-29 07:41:32 -07:00
2007-10-20 01:34:40 +02:00
2007-10-25 17:43:46 -04:00
2007-10-31 15:21:39 +00:00
2007-10-23 09:49:31 +02:00
2007-10-30 08:06:55 -07:00
2007-10-19 11:53:41 -07:00
2007-10-19 11:53:41 -07:00
2007-10-30 08:06:55 -07:00
2007-10-20 15:04:06 -07:00
2007-10-29 07:41:33 -07:00
2007-10-16 21:04:11 -04:00
2007-10-17 08:42:57 -07:00
2007-10-23 15:49:54 +10:00