diff options
author | Paul Gortmaker <paul.gortmaker@windriver.com> | 2013-01-30 21:49:29 -0500 |
---|---|---|
committer | Paul Gortmaker <paul.gortmaker@windriver.com> | 2013-01-31 19:20:33 -0500 |
commit | a786a7c0ad44985548118fd2370c792c0da36891 (patch) | |
tree | 506d699d86f31aafe7c55a198458011983cf5ae6 /net | |
parent | 1b13c97fae9c61dc20db8e0d0a72a29df29ac377 (diff) |
wanrouter: completely decouple obsolete code from kernel.
The original suggestion to delete wanrouter started earlier
with the mainline commit f0d1b3c2bcc5de8a17af5f2274f7fcde8292b5fc
("net/wanrouter: Deprecate and schedule for removal") in May 2012.
More importantly, Dan Carpenter found[1] that the driver had a
fundamental breakage introduced back in 2008, with commit
7be6065b39c3 ("netdevice wanrouter: Convert directly reference of
netdev->priv"). So we know with certainty that the code hasn't been
used by anyone willing to at least take the effort to send an e-mail
report of breakage for at least 4 years.
This commit does a decouple of the wanrouter subsystem, by going
after the Makefile/Kconfig and similar files, so that these mainline
files that we are keeping do not have the big wanrouter file/driver
deletion commit tied into their history.
Once this commit is in place, we then can remove the obsolete cyclomx
drivers and similar that have a dependency on CONFIG_WAN_ROUTER_DRIVERS.
[1] http://www.spinics.net/lists/netdev/msg218670.html
Originally-by: Joe Perches <joe@perches.com>
Cc: Dan Carpenter <dan.carpenter@oracle.com>
Cc: Arnaldo Carvalho de Melo <acme@redhat.com>
Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
Diffstat (limited to 'net')
-rw-r--r-- | net/Kconfig | 1 | ||||
-rw-r--r-- | net/Makefile | 1 | ||||
-rw-r--r-- | net/socket.c | 1 |
3 files changed, 0 insertions, 3 deletions
diff --git a/net/Kconfig b/net/Kconfig index 3cc5be0fe420..c31348e70aad 100644 --- a/net/Kconfig +++ b/net/Kconfig | |||
@@ -209,7 +209,6 @@ source "net/ipx/Kconfig" | |||
209 | source "drivers/net/appletalk/Kconfig" | 209 | source "drivers/net/appletalk/Kconfig" |
210 | source "net/x25/Kconfig" | 210 | source "net/x25/Kconfig" |
211 | source "net/lapb/Kconfig" | 211 | source "net/lapb/Kconfig" |
212 | source "net/wanrouter/Kconfig" | ||
213 | source "net/phonet/Kconfig" | 212 | source "net/phonet/Kconfig" |
214 | source "net/ieee802154/Kconfig" | 213 | source "net/ieee802154/Kconfig" |
215 | source "net/mac802154/Kconfig" | 214 | source "net/mac802154/Kconfig" |
diff --git a/net/Makefile b/net/Makefile index 4f4ee083064c..c5aa8b3b49dc 100644 --- a/net/Makefile +++ b/net/Makefile | |||
@@ -26,7 +26,6 @@ obj-$(CONFIG_BRIDGE) += bridge/ | |||
26 | obj-$(CONFIG_NET_DSA) += dsa/ | 26 | obj-$(CONFIG_NET_DSA) += dsa/ |
27 | obj-$(CONFIG_IPX) += ipx/ | 27 | obj-$(CONFIG_IPX) += ipx/ |
28 | obj-$(CONFIG_ATALK) += appletalk/ | 28 | obj-$(CONFIG_ATALK) += appletalk/ |
29 | obj-$(CONFIG_WAN_ROUTER) += wanrouter/ | ||
30 | obj-$(CONFIG_X25) += x25/ | 29 | obj-$(CONFIG_X25) += x25/ |
31 | obj-$(CONFIG_LAPB) += lapb/ | 30 | obj-$(CONFIG_LAPB) += lapb/ |
32 | obj-$(CONFIG_NETROM) += netrom/ | 31 | obj-$(CONFIG_NETROM) += netrom/ |
diff --git a/net/socket.c b/net/socket.c index 2ca51c719ef9..5c4d82c05293 100644 --- a/net/socket.c +++ b/net/socket.c | |||
@@ -69,7 +69,6 @@ | |||
69 | #include <linux/proc_fs.h> | 69 | #include <linux/proc_fs.h> |
70 | #include <linux/seq_file.h> | 70 | #include <linux/seq_file.h> |
71 | #include <linux/mutex.h> | 71 | #include <linux/mutex.h> |
72 | #include <linux/wanrouter.h> | ||
73 | #include <linux/if_bridge.h> | 72 | #include <linux/if_bridge.h> |
74 | #include <linux/if_frad.h> | 73 | #include <linux/if_frad.h> |
75 | #include <linux/if_vlan.h> | 74 | #include <linux/if_vlan.h> |