diff options
author | Greg KH <gregkh@linuxfoundation.org> | 2012-12-21 13:44:29 +0000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2012-12-22 00:03:00 -0800 |
commit | 8baf82b368d23aed5c96b01ed7110cdccdd18725 (patch) | |
tree | d67ced86c08d6773030d4a816951fcafa4d21a16 /net/wireless/reg.c | |
parent | 03ce758e56c483bf5d0035dbd1a53ca2940a3eb0 (diff) | |
download | linux-8baf82b368d23aed5c96b01ed7110cdccdd18725.tar.bz2 |
CONFIG_HOTPLUG removal from networking core
CONFIG_HOTPLUG is always enabled now, so remove the unused code that was
trying to be compiled out when this option was disabled, in the
networking core.
Cc: Bill Pemberton <wfp5p@virginia.edu>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/wireless/reg.c')
-rw-r--r-- | net/wireless/reg.c | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/net/wireless/reg.c b/net/wireless/reg.c index 6e5308998e30..82c4fc7c994c 100644 --- a/net/wireless/reg.c +++ b/net/wireless/reg.c @@ -2365,7 +2365,6 @@ int set_regdom(const struct ieee80211_regdomain *rd) return r; } -#ifdef CONFIG_HOTPLUG int reg_device_uevent(struct device *dev, struct kobj_uevent_env *env) { if (last_request && !last_request->processed) { @@ -2377,12 +2376,6 @@ int reg_device_uevent(struct device *dev, struct kobj_uevent_env *env) return 0; } -#else -int reg_device_uevent(struct device *dev, struct kobj_uevent_env *env) -{ - return -ENODEV; -} -#endif /* CONFIG_HOTPLUG */ void wiphy_regulatory_register(struct wiphy *wiphy) { |