diff options
Diffstat (limited to 'drivers/ata/sata_inic162x.c')
-rw-r--r-- | drivers/ata/sata_inic162x.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/drivers/ata/sata_inic162x.c b/drivers/ata/sata_inic162x.c index d3e1bab2a7ad..a36149ebf4a2 100644 --- a/drivers/ata/sata_inic162x.c +++ b/drivers/ata/sata_inic162x.c | |||
@@ -682,7 +682,6 @@ static int inic_port_start(struct ata_port *ap) | |||
682 | { | 682 | { |
683 | struct device *dev = ap->host->dev; | 683 | struct device *dev = ap->host->dev; |
684 | struct inic_port_priv *pp; | 684 | struct inic_port_priv *pp; |
685 | int rc; | ||
686 | 685 | ||
687 | /* alloc and initialize private data */ | 686 | /* alloc and initialize private data */ |
688 | pp = devm_kzalloc(dev, sizeof(*pp), GFP_KERNEL); | 687 | pp = devm_kzalloc(dev, sizeof(*pp), GFP_KERNEL); |
@@ -691,10 +690,6 @@ static int inic_port_start(struct ata_port *ap) | |||
691 | ap->private_data = pp; | 690 | ap->private_data = pp; |
692 | 691 | ||
693 | /* Alloc resources */ | 692 | /* Alloc resources */ |
694 | rc = ata_port_start(ap); | ||
695 | if (rc) | ||
696 | return rc; | ||
697 | |||
698 | pp->pkt = dmam_alloc_coherent(dev, sizeof(struct inic_pkt), | 693 | pp->pkt = dmam_alloc_coherent(dev, sizeof(struct inic_pkt), |
699 | &pp->pkt_dma, GFP_KERNEL); | 694 | &pp->pkt_dma, GFP_KERNEL); |
700 | if (!pp->pkt) | 695 | if (!pp->pkt) |