video: udlfb: Deletion of unnecessary checks before the function call "vfree"
authorMarkus Elfring <elfring@users.sourceforge.net>
Sun, 23 Nov 2014 10:40:47 +0000 (11:40 +0100)
committerTomi Valkeinen <tomi.valkeinen@ti.com>
Thu, 4 Dec 2014 14:16:01 +0000 (16:16 +0200)
commit177c0386ea5beb5b8c73d7dbde41487f3f4eabf4
tree2cc78de059adb95159465667a7cc2346ddaf079f
parente87d9f295a7f3e9e7aae7a64f8fa9b45ceb1bf1c
video: udlfb: Deletion of unnecessary checks before the function call "vfree"

The vfree() function performs also input parameter validation. 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/udlfb.c