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/pwm/pwm-twl.c | |
parent | f30785db7546520acd53aac7497d42352ff031e0 (diff) | |
download | lwn-811f39479c0c2d4da959b8d915f2f699d70ab143.tar.gz lwn-811f39479c0c2d4da959b8d915f2f699d70ab143.zip |
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/pwm/pwm-twl.c')
0 files changed, 0 insertions, 0 deletions