From: Marek Szyprowski Date: Wed, 9 Nov 2016 14:23:59 +0000 (-0200) Subject: [media] exynos-gsc: Remove unused lclk_freqency entry X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=d641cf26941ecfe75b99472738447b692775944a;p=linux-beck.git [media] exynos-gsc: Remove unused lclk_freqency entry Remove dead, unused code. Signed-off-by: Marek Szyprowski Tested-by: Javier Martinez Canillas Signed-off-by: Sylwester Nawrocki Signed-off-by: Mauro Carvalho Chehab --- diff --git a/drivers/media/platform/exynos-gsc/gsc-core.c b/drivers/media/platform/exynos-gsc/gsc-core.c index 45a62216385a..aa4db1dfc438 100644 --- a/drivers/media/platform/exynos-gsc/gsc-core.c +++ b/drivers/media/platform/exynos-gsc/gsc-core.c @@ -977,7 +977,6 @@ static struct gsc_driverdata gsc_v_100_drvdata = { [3] = &gsc_v_100_variant, }, .num_entities = 4, - .lclk_frequency = 266000000UL, }; static const struct of_device_id exynos_gsc_match[] = { diff --git a/drivers/media/platform/exynos-gsc/gsc-core.h b/drivers/media/platform/exynos-gsc/gsc-core.h index 8480aec05441..e5aa8f42f11e 100644 --- a/drivers/media/platform/exynos-gsc/gsc-core.h +++ b/drivers/media/platform/exynos-gsc/gsc-core.h @@ -303,12 +303,10 @@ struct gsc_variant { * struct gsc_driverdata - per device type driver data for init time. * * @variant: the variant information for this driver. - * @lclk_frequency: G-Scaler clock frequency * @num_entities: the number of g-scalers */ struct gsc_driverdata { struct gsc_variant *variant[GSC_MAX_DEVS]; - unsigned long lclk_frequency; int num_entities; };