mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-12 07:37:31 -04:00
Staging: hv: netvsc: Get rid of an unnecessary print statement in netvsc_probe()
Get rid of an unnecessary print statement in netvsc_probe(). Furthermore, this fixes a bug since netdev_err is being invoked after the device has been freed. Signed-off-by: K. Y. Srinivasan <kys@microsoft.com> Signed-off-by: Haiyang Zhang <haiyangz@microsoft.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
This commit is contained in:
parent
3d5cad97c4
commit
0293e5cabc
1 changed files with 0 additions and 2 deletions
|
|
@ -355,8 +355,6 @@ static int netvsc_probe(struct hv_device *dev)
|
|||
if (ret != 0) {
|
||||
free_netdev(net);
|
||||
dev_set_drvdata(&dev->device, NULL);
|
||||
|
||||
netdev_err(net, "unable to add netvsc device (ret %d)\n", ret);
|
||||
return ret;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue