video: fbdev-MMP: Deletion of an unnecessary check before the function call "mmp_unre...
authorMarkus Elfring <elfring@users.sourceforge.net>
Sun, 23 Nov 2014 14:45:03 +0000 (15:45 +0100)
committerTomi Valkeinen <tomi.valkeinen@ti.com>
Thu, 4 Dec 2014 14:16:02 +0000 (16:16 +0200)
commit3163e4cd16584a461e89bf0abbd410f40fd2286f
treebf38520964170ba4b18b15eb3d3f18c05b1e7298
parent8a8e411dc0b57e7f930b554b3aa9309b60662db6
video: fbdev-MMP: Deletion of an unnecessary check before the function call "mmp_unregister_path"

The mmp_unregister_path() 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: Tomi Valkeinen <tomi.valkeinen@ti.com>
drivers/video/fbdev/mmp/hw/mmp_ctrl.c