net: Hyper-V: Deletion of an unnecessary check before the function call "vfree"
authorMarkus Elfring <elfring@users.sourceforge.net>
Tue, 25 Nov 2014 21:33:45 +0000 (22:33 +0100)
committerDavid S. Miller <davem@davemloft.net>
Tue, 25 Nov 2014 22:22:48 +0000 (17:22 -0500)
commitaa99c47933d2c9a7622440d1b08ebb46ad8bd741
tree9647e49a7fdb4e00bf1322125a0d980db1642fcd
parent3fedeab10b3bb09744a6467fe7cd157f055137c3
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>
drivers/net/hyperv/netvsc.c