From: Gabriel Krisman Bertazi Date: Wed, 21 Jun 2017 05:17:14 +0000 (+0900) Subject: exynos_drm: Clean up duplicated assignment in exynos_drm_driver X-Git-Tag: v4.14-rc1~378^2^2~8 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=1d6bb0f9b4cca9861c69fd3af5a7ead0dad77070;p=platform%2Fkernel%2Flinux-rpi.git exynos_drm: Clean up duplicated assignment in exynos_drm_driver num_ioctls is already assigned when declaring the exynos_drm_driver structure. No need to duplicate it here. Signed-off-by: Gabriel Krisman Bertazi Reviewed-by: Andrzej Hajda Signed-off-by: Inki Dae --- diff --git a/drivers/gpu/drm/exynos/exynos_drm_drv.c b/drivers/gpu/drm/exynos/exynos_drm_drv.c index 35a8dfc..242bd50 100644 --- a/drivers/gpu/drm/exynos/exynos_drm_drv.c +++ b/drivers/gpu/drm/exynos/exynos_drm_drv.c @@ -453,7 +453,6 @@ static int exynos_drm_platform_probe(struct platform_device *pdev) struct component_match *match; pdev->dev.coherent_dma_mask = DMA_BIT_MASK(32); - exynos_drm_driver.num_ioctls = ARRAY_SIZE(exynos_ioctls); match = exynos_drm_match_add(&pdev->dev); if (IS_ERR(match))