Skip to content

Commit c05ca21

Browse files
author
Thomas Zimmermann
committed
drm/mediatek: Remove error check from fbdev setup
Remove the error check from the fbdev setup function. The function will print a warning. v2: * fix subject line Signed-off-by: Thomas Zimmermann <[email protected]> Reviewed-by: Noralf Trønnes <[email protected]> Acked-by: Sam Ravnborg <[email protected]> Acked-by: Gerd Hoffmann <[email protected]> Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
1 parent 38d356c commit c05ca21

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

drivers/gpu/drm/mediatek/mtk_drm_drv.c

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -347,9 +347,7 @@ static int mtk_drm_bind(struct device *dev)
347347
if (ret < 0)
348348
goto err_deinit;
349349

350-
ret = drm_fbdev_generic_setup(drm, 32);
351-
if (ret)
352-
DRM_ERROR("Failed to initialize fbdev: %d\n", ret);
350+
drm_fbdev_generic_setup(drm, 32);
353351

354352
return 0;
355353

0 commit comments

Comments
 (0)