]> err.no Git - linux-2.6/blobdiff - drivers/ata/pata_mpc52xx.c
[Blackfin] arch: Add proper SW System Reset delay sequence
[linux-2.6] / drivers / ata / pata_mpc52xx.c
index 412140f02853e687456c58969983814c009518aa..dc401626cdb2a01eaa206eddbed33e9175dc24ea 100644 (file)
@@ -308,7 +308,6 @@ mpc52xx_ata_init_one(struct device *dev, struct mpc52xx_ata_priv *priv,
        struct ata_host *host;
        struct ata_port *ap;
        struct ata_ioports *aio;
-       int rc;
 
        host = ata_host_alloc(dev, 1);
        if (!host)
@@ -365,7 +364,7 @@ mpc52xx_ata_probe(struct of_device *op, const struct of_device_id *match)
 {
        unsigned int ipb_freq;
        struct resource res_mem;
-       int ata_irq = NO_IRQ;
+       int ata_irq;
        struct mpc52xx_ata __iomem *ata_regs;
        struct mpc52xx_ata_priv *priv;
        int rv;