diff options
| author | Jakub Kicinski <kuba@kernel.org> | 2026-06-15 12:44:09 -0700 |
|---|---|---|
| committer | Jakub Kicinski <kuba@kernel.org> | 2026-06-16 08:53:52 -0700 |
| commit | b20aa9eded107bc78b7e54e64ccf79fbaeda9ecd (patch) | |
| tree | e057c21ad06ce8bdf32fe4063d91dca7f19add18 /drivers | |
| parent | c1468145ce756e7bd8d814728af19f4261939876 (diff) | |
| download | linux-stable-b20aa9eded107bc78b7e54e64ccf79fbaeda9ecd.tar.gz linux-stable-b20aa9eded107bc78b7e54e64ccf79fbaeda9ecd.zip | |
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>
Diffstat (limited to 'drivers')
| -rw-r--r-- | drivers/atm/solos-pci.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/atm/solos-pci.c b/drivers/atm/solos-pci.c index bcb1353877e4..4ad170a858ee 100644 --- a/drivers/atm/solos-pci.c +++ b/drivers/atm/solos-pci.c @@ -1180,7 +1180,6 @@ static const struct atmdev_ops fpga_ops = { .close = pclose, .ioctl = NULL, .send = psend, - .send_oam = NULL, .phy_put = NULL, .phy_get = NULL, .change_qos = NULL, |
