edac_pci_del_device(9)
π 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 tostruct devicerepresenting 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:
- It removes the sysfs entries for the specified edac_pci structure. β¨
- 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
NULLif the device was not found β so like, nothing got removed. check your pointer, bestie,NULLmeans 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:
edac_pci_alloc_ctl_info(9)edac_pci_free_ctl_info(9)edac_pci_alloc_index(9)edac_pci_add_device(9)edac_pci_create_generic_ctl(9)edac_pci_release_generic_ctl(9)edac_pci_create_sysfs(9)edac_pci_remove_sysfs(9)
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
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms