aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorDr. David Alan Gilbert <linux@treblig.org>2025-04-18 02:15:19 +0100
committerJakub Kicinski <kuba@kernel.org>2025-04-22 07:04:02 -0700
commit45bd443bfd8697a7da308c16c3e75e2bb353b3d1 (patch)
treef5c25d5c359423c8132778bfb54c3f0e810caa83 /include
parentrtase: Add ndo_setup_tc support for CBS offload in traffic control setup (diff)
downloadlinux-45bd443bfd8697a7da308c16c3e75e2bb353b3d1.tar.gz
linux-45bd443bfd8697a7da308c16c3e75e2bb353b3d1.zip
net: 802: Remove unused p8022 code
p8022.c defines two external functions, register_8022_client() and unregister_8022_client(), the last use of which was removed in 2018 by commit 7a2e838d28cf ("staging: ipx: delete it from the tree") Remove the p8022.c file, it's corresponding header, and glue surrounding it. There was one place the header was included in vlan.c but it didn't use the functions it declared. There was a comment in net/802/Makefile about checking against net/core/Makefile, but that's at least 20 years old and there's no sign of net/core/Makefile mentioning it. Signed-off-by: Dr. David Alan Gilbert <linux@treblig.org> Link: https://patch.msgid.link/20250418011519.145320-1-linux@treblig.org Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'include')
-rw-r--r--include/net/p8022.h16
1 files changed, 0 insertions, 16 deletions
diff --git a/include/net/p8022.h b/include/net/p8022.h
deleted file mode 100644
index a29e224ac498..000000000000
--- a/include/net/p8022.h
+++ /dev/null
@@ -1,16 +0,0 @@
-/* SPDX-License-Identifier: GPL-2.0 */
-#ifndef _NET_P8022_H
-#define _NET_P8022_H
-
-struct net_device;
-struct packet_type;
-struct sk_buff;
-
-struct datalink_proto *
-register_8022_client(unsigned char type,
- int (*func)(struct sk_buff *skb,
- struct net_device *dev,
- struct packet_type *pt,
- struct net_device *orig_dev));
-void unregister_8022_client(struct datalink_proto *proto);
-#endif