Tag: 29d79ede4edc1661e24b918acbc9c42a4cd4fcd0

GPU-DRM-sun4i: Delete an unnecessary check before drm_fbdev_cma_hotplug_event()

Author: Markus Elfring <elfring@users.sourceforge.net> The drm_fbdev_cma_hotplug_event() function tests whether its argument is NULL and then returns immediately. Thus the test around the call is 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/cd959d92-f7d9-598c-421f-d3f40bedee10@users.sourceforge.net — drivers/gpu/drm/sun4i/sun4i_framebuffer.c | 3 +– 1 file changed, 1 insertion(+), 2 deletions(-) …

Continue reading