From: hayeswang Date: Fri, 11 Apr 2014 09:54:31 +0000 (+0800) Subject: r8152: check RTL8152_UNPLUG X-Git-Tag: v3.15-rc1~8^2~4 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6871438cc4e5307ccda70fa2a246a546300ac9fa;p=pandora-kernel.git r8152: check RTL8152_UNPLUG 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 Signed-off-by: David S. Miller --- Reading git-diff-tree failed