Re: [PATCH net] r8152: check RTL8152_UNPLUG

2014-04-11 Thread David Miller
From: Hayes Wang Date: Fri, 11 Apr 2014 17:54:31 +0800 > When the device is unplugged, the driver would try to disable the > device. Add checking the flag of RTL8152_UNPLUG to skip setting > the device when it is unplugged. This could shorten the time of > unloading the driver. > > Signed-off-by

[PATCH net] r8152: check RTL8152_UNPLUG

2014-04-11 Thread Hayes Wang
When the device is unplugged, the driver would try to disable the device. Add checking the flag of RTL8152_UNPLUG to skip setting the device when it is unplugged. This could shorten the time of unloading the driver. Signed-off-by: Hayes Wang --- drivers/net/usb/r8152.c | 48 +