video: fbdev-LCDC: Deletion of an unnecessary check before the function call "vfree"
commitf858275869af5f2be58782cfaffcf56944bbfe39
authorMarkus Elfring <elfring@users.sourceforge.net>
Sat, 22 Nov 2014 15:51:31 +0000 (22 16:51 +0100)
committerTomi Valkeinen <tomi.valkeinen@ti.com>
Thu, 4 Dec 2014 14:16:01 +0000 (4 16:16 +0200)
tree73a44705727a1c3cec18d5d8ce7ee6feb3c27c39
parenta96c92b69d48a4b69f367f229aa82ce58938aba9
video: fbdev-LCDC: Deletion of an unnecessary check 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/sh_mobile_lcdcfb.c