aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/ata/libata-core.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/ata/libata-core.c')
-rw-r--r--drivers/ata/libata-core.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/drivers/ata/libata-core.c b/drivers/ata/libata-core.c
index 4f8b8d210cf4..43c329544c00 100644
--- a/drivers/ata/libata-core.c
+++ b/drivers/ata/libata-core.c
@@ -2208,7 +2208,6 @@ int ata_bus_probe(struct ata_port *ap)
2208 2208
2209 /* no device present, disable port */ 2209 /* no device present, disable port */
2210 ata_port_disable(ap); 2210 ata_port_disable(ap);
2211 ap->ops->port_disable(ap);
2212 return -ENODEV; 2211 return -ENODEV;
2213 2212
2214 fail: 2213 fail:
@@ -3227,7 +3226,7 @@ void ata_bus_reset(struct ata_port *ap)
3227 3226
3228err_out: 3227err_out:
3229 ata_port_printk(ap, KERN_ERR, "disabling port\n"); 3228 ata_port_printk(ap, KERN_ERR, "disabling port\n");
3230 ap->ops->port_disable(ap); 3229 ata_port_disable(ap);
3231 3230
3232 DPRINTK("EXIT\n"); 3231 DPRINTK("EXIT\n");
3233} 3232}
@@ -6986,7 +6985,6 @@ static unsigned int ata_dummy_qc_issue(struct ata_queued_cmd *qc)
6986} 6985}
6987 6986
6988const struct ata_port_operations ata_dummy_port_ops = { 6987const struct ata_port_operations ata_dummy_port_ops = {
6989 .port_disable = ata_port_disable,
6990 .check_status = ata_dummy_check_status, 6988 .check_status = ata_dummy_check_status,
6991 .check_altstatus = ata_dummy_check_status, 6989 .check_altstatus = ata_dummy_check_status,
6992 .dev_select = ata_noop_dev_select, 6990 .dev_select = ata_noop_dev_select,