]> git.karo-electronics.de Git - linux-beck.git/commit
[media] lirc_zilog: Deletion of unnecessary checks before vfree()
authorMarkus Elfring <elfring@users.sourceforge.net>
Mon, 1 Dec 2014 18:49:39 +0000 (15:49 -0300)
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>
Thu, 4 Dec 2014 17:47:06 +0000 (15:47 -0200)
commite8379ecff31c0a172cb2ccc7cf28c24b45f144cf
tree8a0463c29e874e94b8f1882a4b3996963ed7120c
parent9a4ea5a98652f602d4ec16957f64fd666e862b09
[media] lirc_zilog: Deletion of unnecessary checks before 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: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
drivers/staging/media/lirc/lirc_zilog.c