scsi: megaraid_sas: Remove redundant memset() statement
authorHarshit Mogalapalli <harshit.m.mogalapalli@oracle.com>
Thu, 5 May 2022 14:32:13 +0000 (07:32 -0700)
committerMartin K. Petersen <martin.petersen@oracle.com>
Fri, 20 May 2022 00:16:26 +0000 (20:16 -0400)
commit2f9e9a7b0ce38471c6f22a762adca6a977edfa7d
tree14dcc6055e95806f30d224a97abc58aa64b7aaa4
parentbc7896d31a922ee9caabb10dc07509f65d41dc0e
scsi: megaraid_sas: Remove redundant memset() statement

As memset() of scmd->sense_buffer is immediately followed by a memcpy()
where scmd->sense_buffer is the destination. The memset() is redundant.

Link: https://lore.kernel.org/r/20220505143214.44908-1-harshit.m.mogalapalli@oracle.com
Signed-off-by: Harshit Mogalapalli <harshit.m.mogalapalli@oracle.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/megaraid/megaraid_sas_fusion.c