]> git.baikalelectronics.ru Git - kernel.git/commit
scsi: qla4xxx: Drop redundant memset()
authorHaowen Bai <baihaowen@meizu.com>
Thu, 21 Apr 2022 09:24:50 +0000 (17:24 +0800)
committerMartin K. Petersen <martin.petersen@oracle.com>
Tue, 26 Apr 2022 03:33:36 +0000 (23:33 -0400)
commit23ec82bbd203241edf0d87b2e646221bd4e46489
tree6bc0621f781c07405fcbaa9796f07ddb6869a0a9
parent645af35d70372c190e720338701b80e419d7fe27
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>
drivers/scsi/qla4xxx/ql4_os.c