summaryrefslogtreecommitdiffstats
path: root/drivers/net/tun.c
diff options
context:
space:
mode:
authorMarkus Elfring <elfring@users.sourceforge.net>2015-02-04 14:07:56 +0100
committerDavid S. Miller <davem@davemloft.net>2015-02-05 00:30:12 -0800
commit7061b2bdd620e4dda449d4d4db69de57751ab289 (patch)
tree00225a357f902ed1f4ceb87507967de85e858180 /drivers/net/tun.c
parentadfde05166174ef1c4733dd7cfd4dc2b5f710ac8 (diff)
downloadop-kernel-dev-7061b2bdd620e4dda449d4d4db69de57751ab289.zip
op-kernel-dev-7061b2bdd620e4dda449d4d4db69de57751ab289.tar.gz
qlogic: Deletion of unnecessary checks before two function calls
The functions kfree() and vfree() perform also input parameter validation. Thus the test around their calls 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>
Diffstat (limited to 'drivers/net/tun.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud