diff options
author | Keoseong Park <keosung.park@samsung.com> | 2022-03-24 16:01:46 +0900 |
---|---|---|
committer | Martin K. Petersen <martin.petersen@oracle.com> | 2022-03-29 23:27:13 -0400 |
commit | 8ee15ea779c332f94d74d135212403f2d0defb5f (patch) | |
tree | 6d7613f119b3d28fd86b377cbdf1d55e9cd4e0b6 /drivers/scsi/ufs | |
parent | c26bd6602e1d348bfa754dc55e5608c922dd2801 (diff) | |
download | linux-stable-8ee15ea779c332f94d74d135212403f2d0defb5f.tar.gz linux-stable-8ee15ea779c332f94d74d135212403f2d0defb5f.tar.bz2 linux-stable-8ee15ea779c332f94d74d135212403f2d0defb5f.zip |
scsi: ufs: core: Remove unused field in struct ufs_hba
Remove unused fields 'rpm_lvl_attr' and 'spm_lvl_attr' in struct ufs_hba.
Commit cbb6813ee771 ("scsi: ufs: sysfs: attribute group for existing sysfs
entries.") removed all code using that field.
Link: https://lore.kernel.org/r/413601558.101648105683746.JavaMail.epsvc@epcpadp4
Reviewed-by: Bart Van Assche <bvanassche@acm.org>
Acked-by: Avri Altman <avri.altman@wdc.com>
Signed-off-by: Keoseong Park <keosung.park@samsung.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'drivers/scsi/ufs')
-rw-r--r-- | drivers/scsi/ufs/ufshcd.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/scsi/ufs/ufshcd.h b/drivers/scsi/ufs/ufshcd.h index 88c20f3608c2..94f545be183a 100644 --- a/drivers/scsi/ufs/ufshcd.h +++ b/drivers/scsi/ufs/ufshcd.h @@ -820,8 +820,6 @@ struct ufs_hba { enum ufs_pm_level rpm_lvl; /* Desired UFS power management level during system PM */ enum ufs_pm_level spm_lvl; - struct device_attribute rpm_lvl_attr; - struct device_attribute spm_lvl_attr; int pm_op_in_progress; /* Auto-Hibernate Idle Timer register value */ |