edac_pci_del_device(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… edac_pci_del_device(9) β€” Kernel API Manual

okay so bestie, quick vibe check: this is a page from the Kernel API Manual, and it's genuinely one of the short ones. little snack-sized manpage. we love a low-effort icon. πŸŽ€


✨ NAME ✨

edac_pci_del_device β€”

and that's it. that's the whole NAME section. girl literally said "no description, we die like men" πŸ’€ the original page ships it blank, so we're shipping it blank too. keepin' it 100% faithful fr fr.


🌸 SYNOPSIS 🌸

struct edac_pci_ctl_info * edac_pci_del_device (struct device *dev );

that's the whole signature, no cap. it takes one dev and hands you back a struct edac_pci_ctl_info *. and yes the space before the ) is staying exactly where it is, we don't fix what we didn't break 🫢


πŸ¦‹ ARGUMENTS πŸ¦‹

  • dev β€” Pointer to struct device representing the edac_pci structure you want to remove. that's the one and only thing you hand this function. it's giving "one job, iconic execution" ✨

πŸ’œ DESCRIPTION πŸ’œ

so here's the tea 🍡 β€” this function does two things, in this order, and the order matters:

  1. It removes the sysfs entries for the specified edac_pci structure. ✨
  2. Then it removes the edac_pci structure from the global list. πŸ—‘οΈ

sysfs first, global list second. it's a whole two-step routine and honestly? she ate. πŸ’…


πŸ”₯ RETURN πŸ”₯

  • Returns a pointer to the removed edac_pci structure. πŸŽ€
  • Or NULL if the device was not found β€” so like, nothing got removed. check your pointer, bestie, NULL means it wasn't there 😭

🌈 SEE ALSO 🌈

Kernel file ./drivers/edac/edac_pci.h β€” the header where all the lore lives πŸ“–

and the whole friend group:

bestie note: there's an add_device and a del_device, which is honestly just the most sensible main-character pairing ever. balance. symmetry. slay. ⭐


fr fr reminder: this page is under ./drivers/edac, dated October 2026. that's the source and the date, right there in the footer, and now it lives in the sign-off instead. iykyk 🧚

okay that's the page, you're welcome, go read edac_pci_add_device(9) next and then we can have a whole conversation about it πŸ’– bye!

πŸ“¦ where this page comes from