]> git.hungrycats.org Git - linux/commit
atm: remove unused ATM PHY operations
authorJakub Kicinski <kuba@kernel.org>
Mon, 15 Jun 2026 19:44:15 +0000 (12:44 -0700)
committerJakub Kicinski <kuba@kernel.org>
Tue, 16 Jun 2026 15:53:53 +0000 (08:53 -0700)
commite44e224e2f44c9ad3ab422b513d5ee2f0f45e416
tree94b55243991e4998baff1bf81e26a9a7943a295e
parentae6e653514d156f0cc2327fe9e7db731ecb35a76
atm: remove unused ATM PHY operations

The PHY operations are vestiges of the SAR/framer split used by the
removed PCI/SBUS ATM adapters:

 - atmdev_ops::phy_put / ::phy_get (register accessors) are never called
   by the core and solos-pci only listed them as NULL
 - struct atmphy_ops and atm_dev::phy have no users at all - nothing
   assigns or dereferences them

Remove all of them. atm_dev::phy_data is kept: solos-pci repurposes it
to stash its per-port channel index.

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