]> git.kernelconcepts.de Git - karo-tx-linux.git/commitdiff
exynos_drm: Clean up duplicated assignment in exynos_drm_driver
authorGabriel Krisman Bertazi <krisman@collabora.co.uk>
Wed, 21 Jun 2017 05:17:14 +0000 (14:17 +0900)
committerInki Dae <inki.dae@samsung.com>
Thu, 27 Jul 2017 00:24:01 +0000 (09:24 +0900)
num_ioctls is already assigned when declaring the exynos_drm_driver
structure.  No need to duplicate it here.

Signed-off-by: Gabriel Krisman Bertazi <krisman@collabora.co.uk>
Reviewed-by: Andrzej Hajda <a.hajda@samsung.com>
Signed-off-by: Inki Dae <inki.dae@samsung.com>
drivers/gpu/drm/exynos/exynos_drm_drv.c

index 35a8dfc93836d83f0223d3e030dea597d57abb55..242bd50faa26018bee34e3ff54faf7b3eaa5dbac 100644 (file)
@@ -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))