summaryrefslogtreecommitdiff
path: root/drivers/ufs
diff options
context:
space:
mode:
authorDeepak R Varma <drv@mailo.com>2023-01-09 02:08:24 +0530
committerMartin K. Petersen <martin.petersen@oracle.com>2023-01-23 21:15:02 -0500
commit4fd62973739de61cf4c83b960db7d1824bd854a3 (patch)
tree416bc8985d5f886537cb674f9713cd4420e6abc1 /drivers/ufs
parent2aa0f83edb1c5a341f0aca209b0ecd74672fb3fa (diff)
scsi: qla2xxx: Use a variable for repeated mem_size computation
Use a variable to compute memory size to be allocated once instead of repeatedly computing it at different locations in the function. Issue identified using the array_size_dup Coccinelle semantic patch. Link: https://lore.kernel.org/r/Y7spwF8HTt0c0l7y@ubun2204.myguest.virtualbox.org Signed-off-by: Deepak R Varma <drv@mailo.com> Reviewed-by: Himanshu Madhani <himanshu.madhani@oracle.com> Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'drivers/ufs')
0 files changed, 0 insertions, 0 deletions