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>
This commit is contained in:
Guoqing Jiang 2024-12-06 19:45:31 +08:00 committed by Inki Dae
parent 0467145fab
commit cfa00a625f
No known key found for this signature in database
GPG Key ID: C5601BECE83FF9B6
1 changed files with 1 additions and 2 deletions

View File

@ -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 = {