scsi: ufs-qcom: remove unnecessary call to get controller revision
Since "major", "minor" and "step" are now being saved in struct ufs_qcom_host, there is no need to call ufs_qcom_get_controller_revision() here. In addition, those local variables are not in use in this routine. Change-Id: I2606f87fc5e54b45a86240c1bccdd8c47009e11a Signed-off-by: Yaniv Gardi <ygardi@codeaurora.org>
This commit is contained in:
parent
c7082b7844
commit
877d77d0b9
1 changed files with 0 additions and 4 deletions
|
@ -1018,10 +1018,6 @@ static void ufs_qcom_advertise_quirks(struct ufs_hba *hba)
|
|||
static void ufs_qcom_set_caps(struct ufs_hba *hba)
|
||||
{
|
||||
struct ufs_qcom_host *host = hba->priv;
|
||||
u8 major;
|
||||
u16 minor, step;
|
||||
|
||||
ufs_qcom_get_controller_revision(hba, &major, &minor, &step);
|
||||
|
||||
hba->caps |= UFSHCD_CAP_CLK_GATING;
|
||||
hba->caps |= UFSHCD_CAP_AUTO_BKOPS_SUSPEND;
|
||||
|
|
Loading…
Add table
Reference in a new issue