From: Tejun Heo Date: Sun, 17 Dec 2006 01:45:08 +0000 (+0900) Subject: [PATCH] libata: clean up variable name usage in xlat related functions X-Git-Tag: v2.6.20-rc2~80^2~3 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=542b1444c5639e5964f9aa99e1cb231381d8a7a4;p=pandora-kernel.git [PATCH] libata: clean up variable name usage in xlat related functions Variable names in xlat functions are quite confusing now. 'scsicmd' is used for CDB while qc->scsicmd points to struct scsi_cmnd while 'cmd' is used for struct scsi_cmnd. This patch cleans up variable names in xlat functions such that 'scmd' is used for struct scsi_cmnd and 'cdb' for CDB. Also, 'scmd' local variable is added if qc->scsicmd is used multiple times. Signed-off-by: Tejun Heo Signed-off-by: Jeff Garzik --- Reading git-diff-tree failed