diff options
author | Ye Bin <yebin10@huawei.com> | 2020-07-17 17:09:21 +0800 |
---|---|---|
committer | Martin K. Petersen <martin.petersen@oracle.com> | 2020-07-24 22:09:57 -0400 |
commit | 811f39479c0c2d4da959b8d915f2f699d70ab143 (patch) | |
tree | 15ff16bb88815eff8053ca5784e231725c04e0a5 /drivers/scsi/dpt_i2o.c | |
parent | f30785db7546520acd53aac7497d42352ff031e0 (diff) |
scsi: core: Delete unnecessary buffer allocation for every loop iteration
No need to allocate buffer every loop iteration. Allocate buffer once and
reuse it.
Link: https://lore.kernel.org/r/20200717090921.29243-2-yebin10@huawei.com
Signed-off-by: Ye Bin <yebin10@huawei.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'drivers/scsi/dpt_i2o.c')
0 files changed, 0 insertions, 0 deletions