summaryrefslogtreecommitdiffstats
path: root/drivers/ata/ahci.c
diff options
context:
space:
mode:
authorTejun Heo <htejun@gmail.com>2008-04-08 01:25:35 +0900
committerJeff Garzik <jgarzik@redhat.com>2008-04-17 15:44:25 -0400
commit2a0c15ca39f5881aa1b472ca856bb7a2e584ece7 (patch)
tree28fe9136db8016720c272ba39df3a3b43a9715e2 /drivers/ata/ahci.c
parente50e3ce5e70e36e6069a8cc8292df76058fa9e23 (diff)
downloadop-kernel-dev-2a0c15ca39f5881aa1b472ca856bb7a2e584ece7.zip
op-kernel-dev-2a0c15ca39f5881aa1b472ca856bb7a2e584ece7.tar.gz
libata: kill dead code paths in reset path
Some code paths which had been made obsolete by recent reset simplification were still around. Kill them. * ata_eh_reset() checked for ATA_DEV_UNKNOWN to determine classification failure. This is no longer applicable. * ata_do_reset() should convert ATA_DEV_UNKNOWN to ATA_DEV_NONE regardless of reset result (e.g. -EAGAIN). * LLDs don't need to convert ATA_DEV_UNKNOWN to ATA_DEV_NONE. Signed-off-by: Tejun Heo <htejun@gmail.com> Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
Diffstat (limited to 'drivers/ata/ahci.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud