drm/arcpgu: Delete an unnecessary check before drm_fbdev_cma_hotplug_event()
authorMarkus Elfring <elfring@users.sourceforge.net>
Fri, 15 Jul 2016 19:52:40 +0000 (21:52 +0200)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Mon, 18 Jul 2016 07:11:29 +0000 (09:11 +0200)
commitf15a8e9a14196bad904d040e7b587bdf76ad35ed
tree5f225b6b7914bcb620cefc78a4bf7abd397767f4
parent63fe9bb8656501d33e304bd0d45125a6b1b878f7
drm/arcpgu: Delete an unnecessary check before drm_fbdev_cma_hotplug_event()

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 <elfring@users.sourceforge.net>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Link: http://patchwork.freedesktop.org/patch/msgid/dd9a16b1-234c-6776-e6d9-943a8457334e@users.sourceforge.net
drivers/gpu/drm/arc/arcpgu_drv.c