]> git.baikalelectronics.ru Git - kernel.git/commit
mISDN: Deletion of unnecessary checks before the function call "vfree"
authorMarkus Elfring <elfring@users.sourceforge.net>
Wed, 19 Nov 2014 19:48:26 +0000 (20:48 +0100)
committerDavid S. Miller <davem@davemloft.net>
Fri, 21 Nov 2014 17:17:53 +0000 (12:17 -0500)
commit3940e2a6b5287eab03afcb1b13eac8bb2caac227
treea8fbbc9d493455de16ce640120cbd4e628c1eeef
parent439c1ebf28e77b33f4944d9f77c715aee726ff94
mISDN: 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: David S. Miller <davem@davemloft.net>
drivers/isdn/mISDN/l1oip_codec.c