Skip to content

Commit

Permalink
[PATCH] libata: clean up variable name usage in xlat related functions
Browse files Browse the repository at this point in the history
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 <htejun@gmail.com>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
  • Loading branch information
Tejun Heo authored and Jeff Garzik committed Dec 20, 2006
1 parent 6fbf5ba commit 542b144
Showing 1 changed file with 105 additions and 112 deletions.
Loading

0 comments on commit 542b144

Please sign in to comment.