diff options
author | Tejun Heo <tj@kernel.org> | 2010-05-10 15:41:27 -0400 |
---|---|---|
committer | Jeff Garzik <jgarzik@redhat.com> | 2010-05-14 22:38:42 -0400 |
commit | 1b959c412bbf38ce0fa658183f72027ca8331ee3 (patch) | |
tree | 6d7d0d81ae96b9801e339ff15e1748f2702a6cf6 /drivers/ata | |
parent | 6f79146041853abf551c3d70d05c2e08e1e9c255 (diff) |
sata_mv: remove unnecessary initialization
sata_mv initializes unused ioports fields including bmdma_addr to
NULL. As later changes will conditionalize BMDMA, this makes sata_mv
unnecessarily dependent on BMDMA. Remove the unnecessary
initialization.
Signed-off-by: Tejun Heo <tj@kernel.org>
Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
Diffstat (limited to 'drivers/ata')
-rw-r--r-- | drivers/ata/sata_mv.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/ata/sata_mv.c b/drivers/ata/sata_mv.c index 71cc0d42f9e1..bd486462951c 100644 --- a/drivers/ata/sata_mv.c +++ b/drivers/ata/sata_mv.c | |||
@@ -3656,9 +3656,6 @@ static void mv_port_init(struct ata_ioports *port, void __iomem *port_mmio) | |||
3656 | /* special case: control/altstatus doesn't have ATA_REG_ address */ | 3656 | /* special case: control/altstatus doesn't have ATA_REG_ address */ |
3657 | port->altstatus_addr = port->ctl_addr = shd_base + SHD_CTL_AST; | 3657 | port->altstatus_addr = port->ctl_addr = shd_base + SHD_CTL_AST; |
3658 | 3658 | ||
3659 | /* unused: */ | ||
3660 | port->cmd_addr = port->bmdma_addr = port->scr_addr = NULL; | ||
3661 | |||
3662 | /* Clear any currently outstanding port interrupt conditions */ | 3659 | /* Clear any currently outstanding port interrupt conditions */ |
3663 | serr = port_mmio + mv_scr_offset(SCR_ERROR); | 3660 | serr = port_mmio + mv_scr_offset(SCR_ERROR); |
3664 | writelfl(readl(serr), serr); | 3661 | writelfl(readl(serr), serr); |