diff options
author | Haowen Bai <baihaowen@meizu.com> | 2022-04-21 11:24:50 +0200 |
---|---|---|
committer | Martin K. Petersen <martin.petersen@oracle.com> | 2022-04-26 05:33:36 +0200 |
commit | bda57fede0a6211f9c3423e8b972caffbe623ee0 (patch) | |
tree | 6bc0621f781c07405fcbaa9796f07ddb6869a0a9 /drivers/nvmem/brcm_nvram.c | |
parent | scsi: ipr: Directly return instead of using local ret variable (diff) | |
download | linux-bda57fede0a6211f9c3423e8b972caffbe623ee0.tar.xz linux-bda57fede0a6211f9c3423e8b972caffbe623ee0.zip |
scsi: qla4xxx: Drop redundant memset()
The region set by the call to memset() is immediately overwritten by the
subsequent call to memcpy(). Drop redundant memset().
Link: https://lore.kernel.org/r/1650533091-28815-1-git-send-email-baihaowen@meizu.com
Signed-off-by: Haowen Bai <baihaowen@meizu.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'drivers/nvmem/brcm_nvram.c')
0 files changed, 0 insertions, 0 deletions