]> www.infradead.org Git - users/jedix/linux-maple.git/commit
net: 802: Remove unused p8022 code
authorDr. David Alan Gilbert <linux@treblig.org>
Fri, 18 Apr 2025 01:15:19 +0000 (02:15 +0100)
committerJakub Kicinski <kuba@kernel.org>
Tue, 22 Apr 2025 14:04:02 +0000 (07:04 -0700)
commit45bd443bfd8697a7da308c16c3e75e2bb353b3d1
treef5c25d5c359423c8132778bfb54c3f0e810caa83
parent37f2f2fe26e8d42f4e55251b4646f06bf50d9626
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>
include/net/p8022.h [deleted file]
net/802/Makefile
net/802/p8022.c [deleted file]
net/8021q/vlan.c