Commit 3b319365 authored by Daniele Bellucci's avatar Daniele Bellucci Committed by Greg Kroah-Hartman

[PATCH] Audit and minor cleanups in usbnet

parent 0d17cca3
...@@ -3152,10 +3152,7 @@ static int __init usbnet_init (void) ...@@ -3152,10 +3152,7 @@ static int __init usbnet_init (void)
node_id [0] &= 0xfe; // clear multicast bit node_id [0] &= 0xfe; // clear multicast bit
node_id [0] |= 0x02; // set local assignment bit (IEEE802) node_id [0] |= 0x02; // set local assignment bit (IEEE802)
if (usb_register (&usbnet_driver) < 0) return usb_register(&usbnet_driver);
return -1;
return 0;
} }
module_init (usbnet_init); module_init (usbnet_init);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment