Commit ec86c81d authored by Sergei Shtylyov's avatar Sergei Shtylyov Committed by Jeff Garzik

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: default avatarSergei Shtylyov <sshtylyov@ru.mvista.com>
Signed-off-by: default avatarJeff Garzik <jgarzik@redhat.com>
parent fe6005b8
...@@ -903,7 +903,6 @@ static void scc_postreset(struct ata_link *link, unsigned int *classes) ...@@ -903,7 +903,6 @@ static void scc_postreset(struct ata_link *link, unsigned int *classes)
} }
/* set up device control */ /* 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"); DPRINTK("EXIT\n");
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment