From: Jeonghee Kim Date: Wed, 16 May 2018 09:07:15 +0000 (+0900) Subject: [COMMON] media: mfc: remove unused variable parsing from dts X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=28887f5188d9f9381a3eefc0a8fd881dd0a26530;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.git [COMMON] media: mfc: remove unused variable parsing from dts Change-Id: Idd47a43116066818d9367e578f3385446df89567 Signed-off-by: Jeonghee Kim --- diff --git a/drivers/media/platform/exynos/mfc/s5p_mfc.c b/drivers/media/platform/exynos/mfc/s5p_mfc.c index c8d479477a3c..35a91421b244 100644 --- a/drivers/media/platform/exynos/mfc/s5p_mfc.c +++ b/drivers/media/platform/exynos/mfc/s5p_mfc.c @@ -947,8 +947,6 @@ static void mfc_parse_dt(struct device_node *np, struct s5p_mfc_dev *mfc) return; of_property_read_u32(np, "ip_ver", &pdata->ip_ver); - of_property_read_u32(np, "clock_rate", &pdata->clock_rate); - of_property_read_u32(np, "min_rate", &pdata->min_rate); #ifdef CONFIG_MFC_USE_BUS_DEVFREQ of_property_read_u32(np, "num_qos_steps", &pdata->num_qos_steps); of_property_read_u32(np, "max_qos_steps", &pdata->max_qos_steps); diff --git a/drivers/media/platform/exynos/mfc/s5p_mfc_data_struct.h b/drivers/media/platform/exynos/mfc/s5p_mfc_data_struct.h index 9276f817b9c8..4d26501a0dfc 100644 --- a/drivers/media/platform/exynos/mfc/s5p_mfc_data_struct.h +++ b/drivers/media/platform/exynos/mfc/s5p_mfc_data_struct.h @@ -372,8 +372,6 @@ struct s5p_mfc_qos { struct s5p_mfc_platdata { int ip_ver; - int clock_rate; - int min_rate; #ifdef CONFIG_MFC_USE_BUS_DEVFREQ int num_qos_steps; int max_qos_steps;