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 09:30:12 +0100
commit7061b2bdd620e4dda449d4d4db69de57751ab289 (patch)
tree00225a357f902ed1f4ceb87507967de85e858180 /drivers/net/tun.c
parentMerge tag 'linux-can-next-for-3.20-20150204' of git://git.kernel.org/pub/scm/... (diff)
downloadlinux-7061b2bdd620e4dda449d4d4db69de57751ab289.tar.xz
linux-7061b2bdd620e4dda449d4d4db69de57751ab289.zip
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