From 28887f5188d9f9381a3eefc0a8fd881dd0a26530 Mon Sep 17 00:00:00 2001 From: Jeonghee Kim Date: Wed, 16 May 2018 18:07:15 +0900 Subject: [PATCH] [COMMON] media: mfc: remove unused variable parsing from dts Change-Id: Idd47a43116066818d9367e578f3385446df89567 Signed-off-by: Jeonghee Kim --- drivers/media/platform/exynos/mfc/s5p_mfc.c | 2 -- drivers/media/platform/exynos/mfc/s5p_mfc_data_struct.h | 2 -- 2 files changed, 4 deletions(-) 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; -- 2.20.1