phy_remove_lookup(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’« phy_remove_lookup β€” kernel API manual, section 9 πŸ’«

ok so bestie, welcome to the phy_remove_lookup(9) page πŸ’… this little cutie lives in the Kernel API Manual, section 9, and she's here to break up a situationship. literally a matchmaker in reverse. let's get into it 🫢


✨ NAME ✨

phy_remove_lookup β€” find and remove PHY/device association

like, find the association and un-associate it. it's giving "we need to talk" 😭


🌸 SYNOPSIS 🌸

void phy_remove_lookup (struct phy *phy , const char *con_id , const
char *dev_id );

no cap, that's the whole signature β€” it returns void, so there's nothing to check, she just does the thing and dips πŸ‘‘


πŸŽ€ ARGUMENTS πŸŽ€

  • phy β€” the phy of the association. yeah. that phy. the main character of this whole operation ✨
  • con_id β€” connection ID string on device πŸ”—
  • dev_id β€” the device of the association πŸ“±

all three together = the full identity of the association you're about to yeet πŸ’€


πŸ¦‹ DESCRIPTION πŸ¦‹

okay so here's the tea β˜• β€” this function finds and unregisters the phy_lookup entry that was created with phy_create_lookup. that's it. that's the whole vibe. it's the undo button for the lookup-creation button, fr fr πŸ™ˆ

so if you (or some other part of the kernel) made a lookup earlier, this is how you take it back out. no leftover association, no messy ex, just clean removal 🧹✨

lowkey important: this is the official counterpart to phy_create_lookup β€” the docs say the entry it unregisters is one "created with phy_create_lookup". so keep that pairing in your head, bestie 🫢

πŸ’œ SEE ALSO πŸ’œ

the whole friend group πŸŽ‰ β€” kernel file ./drivers/phy/phy-core.c:

like. the entire phy friend group showed up to the group chat πŸ’€ iconic behavior honestly


and that's the page!! πŸŽ€ this lil slice of kernel docs comes to you from ./drivers/phy, dated October 2026 β€” mwah, go touch some phy_lookup entries responsibly πŸ’–βœ¨πŸ¦‹

πŸ“¦ where this page comes from