mirror of
https://github.com/torvalds/linux.git
synced 2026-05-28 17:13:52 +02:00
scsi: ufs: qcom: Drop dead compile guard
SCSI_UFSHCD already selects DEVFREQ_GOV_SIMPLE_ONDEMAND, drop the check. Signed-off-by: Konrad Dybcio <konrad.dybcio@oss.qualcomm.com> Link: https://lore.kernel.org/r/20250724-topic-ufs_compile_check-v1-1-5ba9e99dbd52@oss.qualcomm.com Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com> Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
This commit is contained in:
parent
3e90b38781
commit
33b3120cb2
|
|
@ -1894,7 +1894,6 @@ static int ufs_qcom_device_reset(struct ufs_hba *hba)
|
|||
return 0;
|
||||
}
|
||||
|
||||
#if IS_ENABLED(CONFIG_DEVFREQ_GOV_SIMPLE_ONDEMAND)
|
||||
static void ufs_qcom_config_scaling_param(struct ufs_hba *hba,
|
||||
struct devfreq_dev_profile *p,
|
||||
struct devfreq_simple_ondemand_data *d)
|
||||
|
|
@ -1906,13 +1905,6 @@ static void ufs_qcom_config_scaling_param(struct ufs_hba *hba,
|
|||
|
||||
hba->clk_scaling.suspend_on_no_request = true;
|
||||
}
|
||||
#else
|
||||
static void ufs_qcom_config_scaling_param(struct ufs_hba *hba,
|
||||
struct devfreq_dev_profile *p,
|
||||
struct devfreq_simple_ondemand_data *data)
|
||||
{
|
||||
}
|
||||
#endif
|
||||
|
||||
/* Resources */
|
||||
static const struct ufshcd_res_info ufs_res_info[RES_MAX] = {
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user