Re: [PATCH net-next] r8152: set RTL8152_UNPLUG when finding -ENODEV

2014-10-30 Thread David Miller
From: Hayes Wang Date: Thu, 30 Oct 2014 11:46:40 +0800 > Set RTL8152_UNPLUG when finding -ENODEV. This could accelerate > unloading the driver when the device is unplugged. > > Signed-off-by: Hayes Wang Applied. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the

[PATCH net-next] r8152: set RTL8152_UNPLUG when finding -ENODEV

2014-10-29 Thread Hayes Wang
Set RTL8152_UNPLUG when finding -ENODEV. This could accelerate unloading the driver when the device is unplugged. Signed-off-by: Hayes Wang --- drivers/net/usb/r8152.c | 14 -- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git a/drivers/net/usb/r8152.c b/drivers/net/usb/r8