pata_scc: kill useless check in scc_postreset()
The device control register exists and its address is set by scc_setup_ports(), hence the check is useless... Signed-off-by: Sergei Shtylyov <sshtylyov@ru.mvista.com> Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
This commit is contained in:
parent
fe6005b81e
commit
ec86c81dfc
|
@ -903,8 +903,7 @@ static void scc_postreset(struct ata_link *link, unsigned int *classes)
|
|||
}
|
||||
|
||||
/* set up device control */
|
||||
if (ap->ioaddr.ctl_addr)
|
||||
out_be32(ap->ioaddr.ctl_addr, ap->ctl);
|
||||
out_be32(ap->ioaddr.ctl_addr, ap->ctl);
|
||||
|
||||
DPRINTK("EXIT\n");
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue