commit | 811f39479c0c2d4da959b8d915f2f699d70ab143 | [log] [tgz] |
---|---|---|
author | Ye Bin <yebin10@huawei.com> | Fri Jul 17 17:09:21 2020 +0800 |
committer | Martin K. Petersen <martin.petersen@oracle.com> | Fri Jul 24 22:09:57 2020 -0400 |
tree | 15ff16bb88815eff8053ca5784e231725c04e0a5 | |
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>