device_links_purge(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

okay bestie, welcome to the Kernel API Manual, section 9 πŸ’… this one's a tiny little icon and honestly it ate β€” it's device_links_purge(9) and it does exactly one thing but it does it flawlessly.


🌸 NAME 🌸

device_links_purge β€” delete existing links to other devices ✨

Like, all the links. Gone. Poof. She's a clean slate kind of girl πŸŽ€


πŸ¦‹ SYNOPSIS πŸ¦‹

void device_links_purge (struct device *dev );

that's it. that's the whole vibe. no return value, no drama, no notes πŸ”₯


πŸ’– ARGUMENTS πŸ’–

  • dev β€” the target device 🫢 aka the main character whose links are about to get the unfollow treatment.

🌈 SEE ALSO 🌈

soooo many siblings, we love a big family 🧚 they all live over in the kernel file ./drivers/base/core.c β€” go say hi:


πŸ’€ reminder bestie: this page has no options, no return values, no environment variables, no exit statuses and no warnings listed β€” so don't go looking for them, there's literally nothing else here. she's short and she knows it πŸ’…

and that's the whole page, no cap 🫢 brought to you by the source tree at ./drivers/base, dated October 2026, from the Kernel API Manual β€” the one and only device_links_purge(9) ⭐ periodt πŸ’œ

πŸ“¦ where this page comes from