]> err.no Git - linux-2.6/commitdiff
pata_mpc52xx: remove un-needed assignment
authorAlan Cox <alan@lxorguk.ukuu.org.uk>
Sat, 19 Jan 2008 15:48:59 +0000 (15:48 +0000)
committerJeff Garzik <jeff@garzik.org>
Wed, 23 Jan 2008 10:24:17 +0000 (05:24 -0500)
ata_irq is always assigned so does not need to be initialised to zero.

Signed-off-by: Alan Cox <alan@redhat.com>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
drivers/ata/pata_mpc52xx.c

index 50c56e2814c1e0c6a777ed7ef80534d8e9012d73..dc401626cdb2a01eaa206eddbed33e9175dc24ea 100644 (file)
@@ -364,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;