UPSTREAM: 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 cbb6813ee7 ("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>
Bug: 234653003
(cherry picked from commit 8ee15ea779)
Change-Id: I392f49173afe0a2c9bcdcec55fbcb42593f170f9
Signed-off-by: Bart Van Assche <bvanassche@google.com>
This commit is contained in:
Keoseong Park
2022-03-24 16:01:46 +09:00
committed by Bart Van Assche
parent a7b23857ed
commit 6e2ea6e76d

View File

@@ -856,8 +856,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 */