---
name: "transport_remove_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_remove_device"
---

# transport\_remove\_device(9)

remove the visibility of a device

## NAME

transport\_remove\_device - remove the visibility of a device

## SYNOPSIS

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

## ARGUMENTS

*dev*

generic device to remove

## DESCRIPTION

This call removes the visibility of the device (to the user from sysfs), but does not destroy it. To eliminate a device entirely you must also call transport\_destroy\_device. If you don't need to do remove and destroy as separate operations, use **transport\_unregister\_device** (see transport\_class.h) which will perform both calls for you.

## COPYRIGHT
