diff options
Diffstat (limited to 'lib')
-rw-r--r-- | lib/kobject_uevent.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/lib/kobject_uevent.c b/lib/kobject_uevent.c index 01479e5c6d18..f56e27ae9d52 100644 --- a/lib/kobject_uevent.c +++ b/lib/kobject_uevent.c | |||
@@ -25,9 +25,7 @@ | |||
25 | #define BUFFER_SIZE 1024 /* buffer for the variables */ | 25 | #define BUFFER_SIZE 1024 /* buffer for the variables */ |
26 | #define NUM_ENVP 32 /* number of env pointers */ | 26 | #define NUM_ENVP 32 /* number of env pointers */ |
27 | 27 | ||
28 | #if defined(CONFIG_HOTPLUG) | 28 | #if defined(CONFIG_HOTPLUG) && defined(CONFIG_NET) |
29 | char uevent_helper[UEVENT_HELPER_PATH_LEN] = "/sbin/hotplug"; | ||
30 | u64 uevent_seqnum; | ||
31 | static DEFINE_SPINLOCK(sequence_lock); | 29 | static DEFINE_SPINLOCK(sequence_lock); |
32 | static struct sock *uevent_sock; | 30 | static struct sock *uevent_sock; |
33 | 31 | ||