diff options
author | 2019-12-24 14:02:45 -0800 | |
---|---|---|
committer | 2020-01-02 21:57:44 -0500 | |
commit | 1b21b8f008c156686079c4c2b207c4a28a0a769d (patch) | |
tree | 2f74ec6e00f61e2db10730d82ce70bd22d36d701 /drivers/scsi/mpt3sas/mpi/mpi2_image.h | |
parent | scsi: ufs: Make ufshcd_add_command_trace() easier to read (diff) | |
download | linux-dev-1b21b8f008c156686079c4c2b207c4a28a0a769d.tar.xz linux-dev-1b21b8f008c156686079c4c2b207c4a28a0a769d.zip |
scsi: ufs: Make ufshcd_prepare_utp_scsi_cmd_upiu() easier to read
Since the lrbp->cmd expression occurs multiple times, introduce a new local
variable to hold that pointer. This patch does not change any
functionality.
Cc: Bean Huo <beanhuo@micron.com>
Cc: Can Guo <cang@codeaurora.org>
Cc: Avri Altman <avri.altman@wdc.com>
Cc: Stanley Chu <stanley.chu@mediatek.com>
Cc: Tomas Winkler <tomas.winkler@intel.com>
Link: https://lore.kernel.org/r/20191224220248.30138-4-bvanassche@acm.org
Reviewed-by: Stanley Chu <stanley.chu@mediatek.com>
Reviewed-by: Can Guo <cang@codeaurora.org>
Signed-off-by: Bart Van Assche <bvanassche@acm.org>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'drivers/scsi/mpt3sas/mpi/mpi2_image.h')
0 files changed, 0 insertions, 0 deletions