diff options
Diffstat (limited to 'drivers/ata/pdc_adma.c')
-rw-r--r-- | drivers/ata/pdc_adma.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/drivers/ata/pdc_adma.c b/drivers/ata/pdc_adma.c index ed18d8b42c52..bb4f838655b6 100644 --- a/drivers/ata/pdc_adma.c +++ b/drivers/ata/pdc_adma.c | |||
@@ -556,11 +556,7 @@ static int adma_port_start(struct ata_port *ap) | |||
556 | { | 556 | { |
557 | struct device *dev = ap->host->dev; | 557 | struct device *dev = ap->host->dev; |
558 | struct adma_port_priv *pp; | 558 | struct adma_port_priv *pp; |
559 | int rc; | ||
560 | 559 | ||
561 | rc = ata_port_start(ap); | ||
562 | if (rc) | ||
563 | return rc; | ||
564 | adma_enter_reg_mode(ap); | 560 | adma_enter_reg_mode(ap); |
565 | pp = devm_kzalloc(dev, sizeof(*pp), GFP_KERNEL); | 561 | pp = devm_kzalloc(dev, sizeof(*pp), GFP_KERNEL); |
566 | if (!pp) | 562 | if (!pp) |