aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/ata/pata_icside.c
diff options
context:
space:
mode:
authorTejun Heo <htejun@gmail.com>2007-10-24 15:21:26 +0900
committerJeff Garzik <jeff@garzik.org>2007-10-25 02:02:02 -0400
commit0e06d9ce7a49d2ef2858cf07b44a324fc3a4c192 (patch)
treec5dba8cb1a58aa6f002f19bf56aca53db64320dc /drivers/ata/pata_icside.c
parent741b776335c3e91b0b8bf765a97f9484a3cd5034 (diff)
downloadkernel_samsung_smdk4412-0e06d9ce7a49d2ef2858cf07b44a324fc3a4c192.zip
kernel_samsung_smdk4412-0e06d9ce7a49d2ef2858cf07b44a324fc3a4c192.tar.gz
kernel_samsung_smdk4412-0e06d9ce7a49d2ef2858cf07b44a324fc3a4c192.tar.bz2
libata: cosmetic clean up in ata_eh_reset()
Local variable @action usage in ata_eh_reset() is a bit confusing. It's used only to cache ehc->i.action to test reset masks after clearing it; however, due to the generic name "action", it's easy to misinterpret the local variable as containing the selected reset method later. Also, the reason for caching the original value is easy to miss. This patch renames @action to @tmp_action and make it buffer newly selected value instead to improve readability. Signed-off-by: Tejun Heo <htejun@gmail.com> Signed-off-by: Jeff Garzik <jeff@garzik.org>
Diffstat (limited to 'drivers/ata/pata_icside.c')
0 files changed, 0 insertions, 0 deletions