Tag: aa99c47933d2c9a7622440d1b08ebb46ad8bd741

net: Hyper-V: Deletion of an unnecessary check before the function call “vfree”

Author: Markus Elfring <elfring@users.sourceforge.net> 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 Signed-off-by: Haiyang Zhang Signed-off-by: David S. Miller — drivers/net/hyperv/netvsc.c | 4 +— 1 file changed, 1 insertion(+), 3 deletions(-)   diff –git …

Continue reading