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

# scsi\_remove\_target(9)

try to remove a target and all its devices

## NAME

scsi\_remove\_target - try to remove a target and all its devices

## SYNOPSIS

**void scsi\_remove\_target(struct device \*** *dev***);**

## ARGUMENTS

*dev*

generic starget or parent of generic stargets to be removed

## NOTE

This is slightly racy. It is possible that if the user requests the addition of another device then the target won't be removed.

## AUTHORS

**James Bottomley** \<James.Bottomley@hansenpartnership.com\>

Author.

**Rob Landley** \<rob@landley.net\>

Author.

## COPYRIGHT
