Messages in this thread | | | From | Avri Altman <> | Subject | RE: [PATCH v3 1/5] scsi: ufs: Remove unnecessary memset for dev_info | Date | Sun, 17 May 2020 06:11:55 +0000 |
| |
> > The whole UFS host instance has been zero-initialized by > scsi_host_alloc(), thus UFS driver does not need to clear > "dev_info" member specifically in ufshcd_device_params_init(). > > Simply remove the unnecessary code. > > Signed-off-by: Stanley Chu <stanley.chu@mediatek.com> Reviewed-by: Avri Altman <avri.altman@wdc.com>
| |