Tag: 63fe9bb8656501d33e304bd0d45125a6b1b878f7

drm/vc4: Delete unnecessary checks before two function calls

Author: Markus Elfring <elfring@users.sourceforge.net> The following functions test whether their argument is NULL and then return immediately. * drm_fbdev_cma_hotplug_event * drm_fbdev_cma_restore_mode Thus the tests around their calls are not needed. This issue was detected by using the Coccinelle software. Signed-off-by: Markus Elfring Signed-off-by: Daniel Vetter Link: http://patchwork.freedesktop.org/patch/msgid/fb33d930-6a5c-c501-6676-26bd486f1cb5@users.sourceforge.net — drivers/gpu/drm/vc4/vc4_drv.c | 3 +– drivers/gpu/drm/vc4/vc4_kms.c | 3 …

Continue reading