From ca8ee1dce8020ad6e423926982c8242b4874afa5 Mon Sep 17 00:00:00 2001 From: stephen hemminger Date: Wed, 18 Jul 2012 09:09:48 +0000 Subject: [PATCH] ipx: move peII functions The Ethernet II wrapper is only used by IPX protocol, may have once been used by Appletalk but not currently. Therefore it makes sense to move it to the IPX dust bin and drop the exports. Build tested only. Signed-off-by: Stephen Hemminger Signed-off-by: David S. Miller --- net/ethernet/Makefile | 2 -- net/ipx/Makefile | 2 +- net/{ethernet => ipx}/pe2.c | 2 -- 3 files changed, 1 insertion(+), 5 deletions(-) rename net/{ethernet => ipx}/pe2.c (91%) diff --git a/net/ethernet/Makefile b/net/ethernet/Makefile index 7cef1d8ace273..3231775054040 100644 --- a/net/ethernet/Makefile +++ b/net/ethernet/Makefile @@ -3,5 +3,3 @@ # obj-y += eth.o -obj-$(subst m,y,$(CONFIG_IPX)) += pe2.o -obj-$(subst m,y,$(CONFIG_ATALK)) += pe2.o diff --git a/net/ipx/Makefile b/net/ipx/Makefile index 4b95e3ea0f8bc..440fafa9fd072 100644 --- a/net/ipx/Makefile +++ b/net/ipx/Makefile @@ -4,5 +4,5 @@ obj-$(CONFIG_IPX) += ipx.o -ipx-y := af_ipx.o ipx_route.o ipx_proc.o +ipx-y := af_ipx.o ipx_route.o ipx_proc.o pe2.o ipx-$(CONFIG_SYSCTL) += sysctl_net_ipx.o diff --git a/net/ethernet/pe2.c b/net/ipx/pe2.c similarity index 91% rename from net/ethernet/pe2.c rename to net/ipx/pe2.c index 85d574addbc17..32dcd601ab326 100644 --- a/net/ethernet/pe2.c +++ b/net/ipx/pe2.c @@ -28,10 +28,8 @@ struct datalink_proto *make_EII_client(void) return proto; } -EXPORT_SYMBOL(make_EII_client); void destroy_EII_client(struct datalink_proto *dl) { kfree(dl); } -EXPORT_SYMBOL(destroy_EII_client); -- 2.39.5