Skip to content

Commit 33b3120

Browse files
quic-kdybciomartinkpetersen
authored andcommitted
scsi: ufs: qcom: Drop dead compile guard
SCSI_UFSHCD already selects DEVFREQ_GOV_SIMPLE_ONDEMAND, drop the check. Signed-off-by: Konrad Dybcio <[email protected]> Link: https://lore.kernel.org/r/20250724-topic-ufs_compile_check-v1-1-5ba9e99dbd52@oss.qualcomm.com Reviewed-by: Dmitry Baryshkov <[email protected]> Signed-off-by: Martin K. Petersen <[email protected]>
1 parent 3e90b38 commit 33b3120

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

drivers/ufs/host/ufs-qcom.c

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1894,7 +1894,6 @@ static int ufs_qcom_device_reset(struct ufs_hba *hba)
18941894
return 0;
18951895
}
18961896

1897-
#if IS_ENABLED(CONFIG_DEVFREQ_GOV_SIMPLE_ONDEMAND)
18981897
static void ufs_qcom_config_scaling_param(struct ufs_hba *hba,
18991898
struct devfreq_dev_profile *p,
19001899
struct devfreq_simple_ondemand_data *d)
@@ -1906,13 +1905,6 @@ static void ufs_qcom_config_scaling_param(struct ufs_hba *hba,
19061905

19071906
hba->clk_scaling.suspend_on_no_request = true;
19081907
}
1909-
#else
1910-
static void ufs_qcom_config_scaling_param(struct ufs_hba *hba,
1911-
struct devfreq_dev_profile *p,
1912-
struct devfreq_simple_ondemand_data *data)
1913-
{
1914-
}
1915-
#endif
19161908

19171909
/* Resources */
19181910
static const struct ufshcd_res_info ufs_res_info[RES_MAX] = {

0 commit comments

Comments
 (0)