diff options
author | Markus Elfring <elfring@users.sourceforge.net> | 2014-11-25 22:33:45 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2014-11-25 23:22:48 +0100 |
commit | aa99c47933d2c9a7622440d1b08ebb46ad8bd741 (patch) | |
tree | 9647e49a7fdb4e00bf1322125a0d980db1642fcd /drivers/net/tun.c | |
parent | cxgb4/cxgb4vf/csiostor: Add T4/T5 PCI ID Table (diff) | |
download | linux-aa99c47933d2c9a7622440d1b08ebb46ad8bd741.tar.xz linux-aa99c47933d2c9a7622440d1b08ebb46ad8bd741.zip |
net: Hyper-V: Deletion of an unnecessary check 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: Haiyang Zhang <haiyangz@microsoft.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/tun.c')
0 files changed, 0 insertions, 0 deletions