r8152: set RTL8152_UNPLUG when finding -ENODEV
authorhayeswang <hayeswang@realtek.com>
Thu, 30 Oct 2014 03:46:40 +0000 (11:46 +0800)
committerDavid S. Miller <davem@davemloft.net>
Thu, 30 Oct 2014 20:55:17 +0000 (16:55 -0400)
Set RTL8152_UNPLUG when finding -ENODEV. This could accelerate
unloading the driver when the device is unplugged.

Signed-off-by: Hayes Wang <hayeswang@realtek.com>
Signed-off-by: David S. Miller <davem@davemloft.net>

No differences found