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

Configure Feed

Select the types of activity you want to include in your feed.

drm/rockchip: Remove unnecessary checking

It is not needed since drm_atomic_helper_shutdown checks it.

Signed-off-by: Guoqing Jiang <guoqing.jiang@canonical.com>
Acked-by: Andy Yan <andyshrk@163.com>
Signed-off-by: Heiko Stuebner <heiko@sntech.de>
Link: https://patchwork.freedesktop.org/patch/msgid/20241206114233.1270989-1-guoqing.jiang@canonical.com

authored by

Guoqing Jiang and committed by
Heiko Stuebner
8ddc8dfb c5cf8019

+1 -2
+1 -2
drivers/gpu/drm/rockchip/rockchip_drm_drv.c
··· 486 486 { 487 487 struct drm_device *drm = platform_get_drvdata(pdev); 488 488 489 - if (drm) 490 - drm_atomic_helper_shutdown(drm); 489 + drm_atomic_helper_shutdown(drm); 491 490 } 492 491 493 492 static const struct of_device_id rockchip_drm_dt_ids[] = {