---
name: "ata_pci_remove_one"
section: "9"
platform: "linux"
package: "linux-manual-4.9"
version: "4.9.228-1"
release: "Debian 9 (Stretch)"
platforms: ["linux"]
url: "https://new.carta.tech/ata_pci_remove_one"
---

# ata\_pci\_remove\_one(9)

PCI layer callback for device removal

## NAME

ata\_pci\_remove\_one - PCI layer callback for device removal

## SYNOPSIS

**void ata\_pci\_remove\_one(struct pci\_dev \*** *pdev***);**

## ARGUMENTS

*pdev*

PCI device that was removed

## DESCRIPTION

PCI layer indicates to libata via this hook that hot-unplug or module unload event has occurred. Detach all ports. Resource release is handled via devres.

LOCKING: Inherited from PCI layer (may sleep).

## AUTHOR

**Jeff Garzik**

Author.

## COPYRIGHT
