summaryrefslogtreecommitdiffstats
path: root/drivers/scsi/dpt_i2o.c
diff options
context:
space:
mode:
authorYe Bin <yebin10@huawei.com>2020-07-17 17:09:21 +0800
committerMartin K. Petersen <martin.petersen@oracle.com>2020-07-24 22:09:57 -0400
commit811f39479c0c2d4da959b8d915f2f699d70ab143 (patch)
tree15ff16bb88815eff8053ca5784e231725c04e0a5 /drivers/scsi/dpt_i2o.c
parentf30785db7546520acd53aac7497d42352ff031e0 (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