diff options
author | Gabriel Krisman Bertazi <krisman@collabora.co.uk> | 2017-06-21 08:17:14 +0300 |
---|---|---|
committer | Inki Dae <inki.dae@samsung.com> | 2017-07-27 03:24:01 +0300 |
commit | 1d6bb0f9b4cca9861c69fd3af5a7ead0dad77070 (patch) | |
tree | f5cc8a023746c80fc8279fbbaf898a5dae1a639c | |
parent | 517069ff6ec0971e0794ab97d4fcfa8b143746e4 (diff) | |
download | linux-1d6bb0f9b4cca9861c69fd3af5a7ead0dad77070.tar.xz |
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 <krisman@collabora.co.uk>
Reviewed-by: Andrzej Hajda <a.hajda@samsung.com>
Signed-off-by: Inki Dae <inki.dae@samsung.com>
-rw-r--r-- | drivers/gpu/drm/exynos/exynos_drm_drv.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/gpu/drm/exynos/exynos_drm_drv.c b/drivers/gpu/drm/exynos/exynos_drm_drv.c index 35a8dfc93836..242bd50faa26 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)) |