Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit ec794a66 authored by Stanley Chu's avatar Stanley Chu Committed by Can Guo
Browse files

BACKPORT: FROMGIT: scsi: ufs: Remove unnecessary memset for dev_info

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.

Link: https://lore.kernel.org/r/20200522083212.4008-2-stanley.chu@mediatek.com


Reviewed-by: default avatarAvri Altman <avri.altman@wdc.com>
Reviewed-by: default avatarAsutosh Das <asutoshd@codeaurora.org>
Signed-off-by: default avatarStanley Chu <stanley.chu@mediatek.com>
Signed-off-by: default avatarMartin K. Petersen <martin.petersen@oracle.com>

Bug: 158450168
(cherry picked from commit 3a66ae512b09971410abf9f1d546944c07b852ec
https://git.kernel.org/pub/scm/linux/kernel/git/mkp/scsi.git

 5.8/scsi-queue)
Change-Id: Idb4776fb166018e1d61892a8d58b5c135738c1c7
[can: Resolved minor conflicts]
Signed-off-by: default avatarCan Guo <cang@codeaurora.org>
parent dad12176
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment