]> git.hungrycats.org Git - linux/commit
atm: remove the unused pre_send and send_bh device operations
authorJakub Kicinski <kuba@kernel.org>
Mon, 15 Jun 2026 19:44:14 +0000 (12:44 -0700)
committerJakub Kicinski <kuba@kernel.org>
Tue, 16 Jun 2026 15:53:52 +0000 (08:53 -0700)
commitae6e653514d156f0cc2327fe9e7db731ecb35a76
tree062aa0d7994229284a2619ce00d5a8fac7ddc259
parent6719d57ee047cba211e8684eef46d5486a3295bb
atm: remove the unused pre_send and send_bh device operations

atmdev_ops::pre_send (a TX pre-processing hook) and ::send_bh (a
bottom-half capable send variant) have no implementation behind them:
no remaining ATM driver sets either, so vcc_sendmsg() always skipped
pre_send and the raw AAL0/AAL5 paths always fell back to ->send().
The drivers that used these hooks were removed with the legacy ATM
adapters.

Drop both operations and the dead branches that tested for them.

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