diff options
author | Markus Elfring <elfring@users.sourceforge.net> | 2015-02-04 14:07:56 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2015-02-05 00:30:12 -0800 |
commit | 7061b2bdd620e4dda449d4d4db69de57751ab289 (patch) | |
tree | 00225a357f902ed1f4ceb87507967de85e858180 /drivers/net/tun.c | |
parent | adfde05166174ef1c4733dd7cfd4dc2b5f710ac8 (diff) | |
download | op-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