diff options
author | 2007-10-31 10:17:03 +0900 | |
---|---|---|
committer | 2007-11-03 08:46:54 -0400 | |
commit | 416dc9ed206bba09807300ee5f155a81cebbd4a1 (patch) | |
tree | 483a86db1dbcdb443962f9597531ea0541ef61e6 /lib/libcrc32c.c | |
parent | libata: fix timing computation in ata_eh_reset() (diff) | |
download | wireguard-linux-416dc9ed206bba09807300ee5f155a81cebbd4a1.tar.xz wireguard-linux-416dc9ed206bba09807300ee5f155a81cebbd4a1.zip |
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>
Diffstat (limited to 'lib/libcrc32c.c')
0 files changed, 0 insertions, 0 deletions