From: Tejun Heo Date: Wed, 24 Oct 2007 06:21:26 +0000 (+0900) Subject: libata: cosmetic clean up in ata_eh_reset() X-Git-Tag: v2.6.24-rc2~143^2~4 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0e06d9ce7a49d2ef2858cf07b44a324fc3a4c192;p=pandora-kernel.git 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 Signed-off-by: Jeff Garzik --- Reading git-diff-tree failed