diff options
| author | Deepak R Varma <[email protected]> | 2023-01-09 02:08:24 +0530 |
|---|---|---|
| committer | Martin K. Petersen <[email protected]> | 2023-01-23 21:15:02 -0500 |
| commit | 4fd62973739de61cf4c83b960db7d1824bd854a3 (patch) | |
| tree | 416bc8985d5f886537cb674f9713cd4420e6abc1 /tools/perf/scripts/python/bin | |
| parent | 2aa0f83edb1c5a341f0aca209b0ecd74672fb3fa (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/[email protected]
Signed-off-by: Deepak R Varma <[email protected]>
Reviewed-by: Himanshu Madhani <[email protected]>
Signed-off-by: Martin K. Petersen <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions