video: smscufx: Deletion of unnecessary checks before the function call "vfree"
authorMarkus Elfring <elfring@users.sourceforge.net>
Sun, 23 Nov 2014 11:30:33 +0000 (12:30 +0100)
committerTomi Valkeinen <tomi.valkeinen@ti.com>
Thu, 4 Dec 2014 14:16:01 +0000 (16:16 +0200)
commit2daff4d48d7e9acde58a68de3cd11f8215780499
tree70c0994fe0b31e613d1f5414b035ef8c2b685f30
parent177c0386ea5beb5b8c73d7dbde41487f3f4eabf4
video: smscufx: 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/smscufx.c