[PATCH] GPU-DRM-IMX: Delete an unnecessary check before drm_fbdev_cma_restore_mode()

2015-11-20 Thread Philipp Zabel
Am Sonntag, den 05.07.2015, 22:50 +0200 schrieb SF Markus Elfring: > From: Markus Elfring > Date: Sun, 5 Jul 2015 22:45:23 +0200 > > The drm_fbdev_cma_restore_mode() function tests whether its argument > is NULL and then returns immediately. > Thus the test around the call is not needed. > > Thi

[PATCH] GPU-DRM-IMX: Delete an unnecessary check before drm_fbdev_cma_restore_mode()

2015-07-05 Thread SF Markus Elfring
From: Markus Elfring Date: Sun, 5 Jul 2015 22:45:23 +0200 The drm_fbdev_cma_restore_mode() 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 Elfri