---
name: "ata_scsi_remove_dev"
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_scsi_remove_dev"
---

# ata\_scsi\_remove\_dev(9)

remove attached SCSI device

## NAME

ata\_scsi\_remove\_dev - remove attached SCSI device

## SYNOPSIS

**void ata\_scsi\_remove\_dev(struct ata\_device \*** *dev***);**

## ARGUMENTS

*dev*

ATA device to remove attached SCSI device for

## DESCRIPTION

This function is called from **ata\_eh\_scsi\_hotplug** and responsible for removing the SCSI device attached to *dev*.

LOCKING: Kernel thread context (may sleep).

## AUTHOR

**Jeff Garzik**

Author.

## COPYRIGHT
