]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
atm: remove the unused send_oam / push_oam callbacks
authorJakub Kicinski <kuba@kernel.org>
Mon, 15 Jun 2026 19:44:09 +0000 (12:44 -0700)
committerJakub Kicinski <kuba@kernel.org>
Tue, 16 Jun 2026 15:53:52 +0000 (08:53 -0700)
commitb20aa9eded107bc78b7e54e64ccf79fbaeda9ecd
treee057c21ad06ce8bdf32fe4063d91dca7f19add18
parentc1468145ce756e7bd8d814728af19f4261939876
atm: remove the unused send_oam / push_oam callbacks

The atmdev_ops::send_oam device operation and the atm_vcc::push_oam
callback were the kernel's interface for raw F4/F5 OAM cell exchange.
Nothing assigns them a non-NULL value and nothing ever invokes them:
the core only ever initialises push_oam to NULL (in vcc_create() and the
AAL init helpers) and the Solos driver only lists send_oam = NULL for
documentation. The drivers that actually drove OAM through these hooks
were removed along with the legacy ATM adapters.

Drop both callbacks and the NULL initialisers.

Link: https://patch.msgid.link/20260615194416.752559-3-kuba@kernel.org
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/atm/solos-pci.c
include/linux/atmdev.h
net/atm/common.c
net/atm/raw.c