* [PATCH] scsi: ufs: core: Remove unused field in struct ufs_hba
[not found] <CGME20220324070146epcms2p577d43ce3e7cbd36aa964f3842e49b2ba@epcms2p5>
@ 2022-03-24 7:01 ` Keoseong Park
2022-03-24 9:08 ` Avri Altman
` (2 more replies)
0 siblings, 3 replies; 4+ messages in thread
From: Keoseong Park @ 2022-03-24 7:01 UTC (permalink / raw)
To: ALIM AKHTAR, avri.altman, jejb, martin.petersen, bvanassche,
beanhuo, Daejun Park, adrian.hunter, Keoseong Park, cang,
asutoshd, linux-scsi, linux-kernel
Remove unused field "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.
Signed-off-by: Keoseong Park <keosung.park@samsung.com>
---
drivers/scsi/ufs/ufshcd.h | 2 --
1 file changed, 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 */
--
2.17.1
^ permalink raw reply related [flat|nested] 4+ messages in thread
* RE: [PATCH] scsi: ufs: core: Remove unused field in struct ufs_hba
2022-03-24 7:01 ` [PATCH] scsi: ufs: core: Remove unused field in struct ufs_hba Keoseong Park
@ 2022-03-24 9:08 ` Avri Altman
2022-03-24 12:44 ` Bart Van Assche
2022-03-30 3:28 ` Martin K. Petersen
2 siblings, 0 replies; 4+ messages in thread
From: Avri Altman @ 2022-03-24 9:08 UTC (permalink / raw)
To: keosung.park, ALIM AKHTAR, jejb, martin.petersen, bvanassche,
beanhuo, Daejun Park, adrian.hunter, cang, asutoshd, linux-scsi,
linux-kernel
> Remove unused field "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.
>
> Signed-off-by: Keoseong Park <keosung.park@samsung.com>
Acked-by: Avri Altman <avri.altman@wdc.com>
> ---
> drivers/scsi/ufs/ufshcd.h | 2 --
> 1 file changed, 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 */
> --
> 2.17.1
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH] scsi: ufs: core: Remove unused field in struct ufs_hba
2022-03-24 7:01 ` [PATCH] scsi: ufs: core: Remove unused field in struct ufs_hba Keoseong Park
2022-03-24 9:08 ` Avri Altman
@ 2022-03-24 12:44 ` Bart Van Assche
2022-03-30 3:28 ` Martin K. Petersen
2 siblings, 0 replies; 4+ messages in thread
From: Bart Van Assche @ 2022-03-24 12:44 UTC (permalink / raw)
To: keosung.park, ALIM AKHTAR, avri.altman, jejb, martin.petersen,
beanhuo, Daejun Park, adrian.hunter, cang, asutoshd, linux-scsi,
linux-kernel
On 3/24/22 00:01, Keoseong Park wrote:
> Remove unused field "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.
>
> Signed-off-by: Keoseong Park <keosung.park@samsung.com>
> ---
> drivers/scsi/ufs/ufshcd.h | 2 --
> 1 file changed, 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 */
Reviewed-by: Bart Van Assche <bvanassche@acm.org>
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH] scsi: ufs: core: Remove unused field in struct ufs_hba
2022-03-24 7:01 ` [PATCH] scsi: ufs: core: Remove unused field in struct ufs_hba Keoseong Park
2022-03-24 9:08 ` Avri Altman
2022-03-24 12:44 ` Bart Van Assche
@ 2022-03-30 3:28 ` Martin K. Petersen
2 siblings, 0 replies; 4+ messages in thread
From: Martin K. Petersen @ 2022-03-30 3:28 UTC (permalink / raw)
To: Keoseong Park
Cc: ALIM AKHTAR, avri.altman, jejb, martin.petersen, bvanassche,
beanhuo, Daejun Park, adrian.hunter, cang, asutoshd, linux-scsi,
linux-kernel
Keoseong,
> Remove unused field "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.
Applied to 5.18/scsi-staging, thanks!
--
Martin K. Petersen Oracle Linux Engineering
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2022-03-30 3:28 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
[not found] <CGME20220324070146epcms2p577d43ce3e7cbd36aa964f3842e49b2ba@epcms2p5>
2022-03-24 7:01 ` [PATCH] scsi: ufs: core: Remove unused field in struct ufs_hba Keoseong Park
2022-03-24 9:08 ` Avri Altman
2022-03-24 12:44 ` Bart Van Assche
2022-03-30 3:28 ` Martin K. Petersen
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).