diff options
-rw-r--r-- | drivers/ide/pci/scc_pata.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/drivers/ide/pci/scc_pata.c b/drivers/ide/pci/scc_pata.c index 9ce1d8059921..49f163aa51e3 100644 --- a/drivers/ide/pci/scc_pata.c +++ b/drivers/ide/pci/scc_pata.c | |||
@@ -617,7 +617,6 @@ static int __devinit init_setup_scc(struct pci_dev *dev, | |||
617 | unsigned long intmask_port; | 617 | unsigned long intmask_port; |
618 | unsigned long mode_port; | 618 | unsigned long mode_port; |
619 | unsigned long ecmode_port; | 619 | unsigned long ecmode_port; |
620 | unsigned long dma_status_port; | ||
621 | u32 reg = 0; | 620 | u32 reg = 0; |
622 | struct scc_ports *ports; | 621 | struct scc_ports *ports; |
623 | int rc; | 622 | int rc; |
@@ -637,7 +636,6 @@ static int __devinit init_setup_scc(struct pci_dev *dev, | |||
637 | intmask_port = dma_base + 0x010; | 636 | intmask_port = dma_base + 0x010; |
638 | mode_port = ctl_base + 0x024; | 637 | mode_port = ctl_base + 0x024; |
639 | ecmode_port = ctl_base + 0xf00; | 638 | ecmode_port = ctl_base + 0xf00; |
640 | dma_status_port = dma_base + 0x004; | ||
641 | 639 | ||
642 | /* controller initialization */ | 640 | /* controller initialization */ |
643 | reg = 0; | 641 | reg = 0; |
@@ -843,8 +841,6 @@ static u8 scc_cable_detect(ide_hwif_t *hwif) | |||
843 | 841 | ||
844 | static void __devinit init_hwif_scc(ide_hwif_t *hwif) | 842 | static void __devinit init_hwif_scc(ide_hwif_t *hwif) |
845 | { | 843 | { |
846 | struct scc_ports *ports = ide_get_hwifdata(hwif); | ||
847 | |||
848 | /* PTERADD */ | 844 | /* PTERADD */ |
849 | out_be32((void __iomem *)(hwif->dma_base + 0x018), hwif->dmatable_dma); | 845 | out_be32((void __iomem *)(hwif->dma_base + 0x018), hwif->dmatable_dma); |
850 | 846 | ||