---
name: "pci_destroy_slot"
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/pci_destroy_slot"
---

# pci\_destroy\_slot(9)

decrement refcount for physical PCI slot

## NAME

pci\_destroy\_slot - decrement refcount for physical PCI slot

## SYNOPSIS

**void pci\_destroy\_slot(struct pci\_slot \*** *slot***);**

## ARGUMENTS

*slot*

struct pci\_slot to decrement

## DESCRIPTION

**struct** pci\_slot is refcounted, so destroying them is really easy; we just call kobject\_put on its kobj and let our release methods do the rest.

## COPYRIGHT
