Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

drm/exynos: Remove unnecessary checking

It is not needed since drm_atomic_helper_shutdown checks it.

Signed-off-by: Guoqing Jiang <guoqing.jiang@canonical.com>
Signed-off-by: Inki Dae <inki.dae@samsung.com>

authored by

Guoqing Jiang and committed by
Inki Dae
cfa00a62 0467145f

+1 -2
+1 -2
drivers/gpu/drm/exynos/exynos_drm_drv.c
··· 355 355 { 356 356 struct drm_device *drm = platform_get_drvdata(pdev); 357 357 358 - if (drm) 359 - drm_atomic_helper_shutdown(drm); 358 + drm_atomic_helper_shutdown(drm); 360 359 } 361 360 362 361 static struct platform_driver exynos_drm_platform_driver = {