Re: [PATCH] scsi: megaraid_sas: Remove redundant memset statement

From: Martin K. Petersen
Date: Mon May 16 2022 - 22:12:13 EST



Harshit,

> As memset of 'scmd->sense_buffer' is immediately followed by a memcpy
> where 'scmd->sense_buffer' is the destination, memset is redundant.

Applied to 5.19/scsi-staging, thanks!

--
Martin K. Petersen Oracle Linux Engineering