]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit879d80bed211d21713dd39c0760a692456aedd71
treeaab6f7524472ead6bea65aed7761660d58519842
parentcfa589b9de28a92a9cc4fe4244be62c0027bc2d0
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