]> 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)
commit0940ad8a51fab47e5c7e3052c9e9d62a71471bf7
treea8fbbc9d493455de16ce640120cbd4e628c1eeef
parentb0499c3a8c1cc886d2cc9ef0a794925efbdc84b6
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