ufshcd_pci_remove(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… ufshcd_pci_remove(9)

okay so bestie, welcome to the Kernel API Manual β€” this is the page for ufshcd_pci_remove, and honestly? it's giving cleanup era. ✨


🌸 NAME 🌸

ufshcd_pci_remove β€” de-allocate PCI/SCSI host and host memory space data structure memory 🧹

like, it frees the stuff. the PCI/SCSI host data structure memory and the host memory space data structure memory. both of them. no cap.


✨ SYNOPSIS ✨

void ufshcd_pci_remove (struct pci_dev *pdev );

returns void, so don't go looking for a return value, there isn't one, that's the whole vibe πŸ’€


πŸŽ€ ARGUMENTS πŸŽ€

  • pdev β€” pointer to PCI handle 🫢 that's it, that's the one (1) argument, she's lowkey simple like that

πŸ¦‹ SEE ALSO πŸ¦‹

  • Kernel file ./drivers/ufs/host/ufshcd-pci.c β€” go read the source, iykyk πŸ“–
  • ufshcd_pci_probe(9) β€” the other half of the story, the setup to this cleanup, they're literally a matching set πŸ’–

ngl this page is short but she ate. everything in its place, nothing extra, main character energy only πŸ‘‘

mwah, that's the whole page β€” no bugs listed, no warnings, no exit statuses, just vibes and a very tidy de-allocation πŸ’…


sign-off time πŸŽ€ this iconic little page lives under ./drivers/ufs/host and it's dated October 2026 β€” remember it fondly, bestie, and go free that memory. πŸŒˆπŸ’œπŸŒΈ

πŸ“¦ where this page comes from