mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-11 15:11:48 -04:00
scsi: ufs: remove unnecessary memset
Remove memset Change-Id: I24fb8bc48679fd3b9801ff10d7557cea2366d13a Signed-off-by: Asutosh Das <asutoshd@codeaurora.org>
This commit is contained in:
parent
8f9e82655d
commit
0695d03ab9
1 changed files with 1 additions and 4 deletions
|
|
@ -3,7 +3,7 @@
|
|||
*
|
||||
* This code is based on drivers/scsi/ufs/ufshcd.c
|
||||
* Copyright (C) 2011-2013 Samsung India Software Operations
|
||||
* Copyright (c) 2013-2019, The Linux Foundation. All rights reserved.
|
||||
* Copyright (c) 2013-2020, The Linux Foundation. All rights reserved.
|
||||
*
|
||||
* Authors:
|
||||
* Santosh Yaraganavi <santosh.sy@samsung.com>
|
||||
|
|
@ -7154,11 +7154,8 @@ static int ufshcd_device_params_init(struct ufs_hba *hba)
|
|||
__func__, ret);
|
||||
goto out;
|
||||
}
|
||||
|
||||
ufs_fixup_device_setup(hba);
|
||||
|
||||
/* Clear any previous UFS device information */
|
||||
memset(&hba->dev_info, 0, sizeof(hba->dev_info));
|
||||
if (!ufshcd_query_flag_retry(hba, UPIU_QUERY_OPCODE_READ_FLAG,
|
||||
QUERY_FLAG_IDN_PWR_ON_WPE, &flag))
|
||||
hba->dev_info.f_power_on_wp_en = flag;
|
||||
|
|
|
|||
Loading…
Reference in a new issue