diff options
author | Guoqing Jiang <guoqing.jiang@canonical.com> | 2024-12-06 19:45:31 +0800 |
---|---|---|
committer | Inki Dae <inki.dae@samsung.com> | 2025-04-23 22:52:58 +0900 |
commit | cfa00a625f1c730e93f96b5b4ba7c1b4dc286c79 (patch) | |
tree | 45e0638e6498d5354c8b3b658ef2fa9d9a1391dd | |
parent | 0467145fab3b3a7a1efd221722310fe32329b3da (diff) |
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>
-rw-r--r-- | drivers/gpu/drm/exynos/exynos_drm_drv.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/gpu/drm/exynos/exynos_drm_drv.c b/drivers/gpu/drm/exynos/exynos_drm_drv.c index f313ae7bc3a3..6cc7bf77bcac 100644 --- a/drivers/gpu/drm/exynos/exynos_drm_drv.c +++ b/drivers/gpu/drm/exynos/exynos_drm_drv.c @@ -355,8 +355,7 @@ static void exynos_drm_platform_shutdown(struct platform_device *pdev) { struct drm_device *drm = platform_get_drvdata(pdev); - if (drm) - drm_atomic_helper_shutdown(drm); + drm_atomic_helper_shutdown(drm); } static struct platform_driver exynos_drm_platform_driver = { |