---
name: "transport_destroy_device"
section: "9"
platform: "linux"
package: "linux-manual-3.16"
version: "3.16.56-1+deb8u1"
release: "Debian 8 (Jessie)"
platforms: ["linux"]
url: "https://new.carta.tech/transport_destroy_device"
---

# transport\_destroy\_device(9)

destroy a removed device

## NAME

transport\_destroy\_device - destroy a removed device

## SYNOPSIS

**void transport\_destroy\_device(struct device \*** *dev***);**

## ARGUMENTS

*dev*

device to eliminate from the transport class.

## DESCRIPTION

This call triggers the elimination of storage associated with the transport classdev. Note: all it really does is relinquish a reference to the classdev. The memory will not be freed until the last reference goes to zero. Note also that the classdev retains a reference count on dev, so dev too will remain for as long as the transport class device remains around.

## COPYRIGHT
