video: uvesafb: Deletion of an unnecessary check before the function call "uvesafb_free"
authorMarkus Elfring <elfring@users.sourceforge.net>
Sun, 23 Nov 2014 10:00:26 +0000 (11:00 +0100)
committerTomi Valkeinen <tomi.valkeinen@ti.com>
Thu, 4 Dec 2014 14:16:01 +0000 (16:16 +0200)
commite87d9f295a7f3e9e7aae7a64f8fa9b45ceb1bf1c
treeaab6f7524472ead6bea65aed7761660d58519842
parentf858275869af5f2be58782cfaffcf56944bbfe39
video: uvesafb: Deletion of an unnecessary check before the function call "uvesafb_free"

The uvesafb_free() 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/uvesafb.c