From 6871438cc4e5307ccda70fa2a246a546300ac9fa Mon Sep 17 00:00:00 2001 From: hayeswang Date: Fri, 11 Apr 2014 17:54:31 +0800 Subject: [PATCH] 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-format-patch failed