ata_irq is always assigned so does not need to be initialised to zero.
Signed-off-by: Alan Cox <[EMAIL PROTECTED]>
diff -u --new-file --recursive --exclude-from /usr/src/exclude
linux.vanilla-2.6.24-rc8-mm1/drivers/ata/pata_mpc52xx.c
linux-2.6.24-rc8-mm1/drivers/ata/pata_mpc52xx.c
--- linux.vanilla-2.6.24-rc8-mm1/drivers/ata/pata_mpc52xx.c 2008-01-19
14:22:32.000000000 +0000
+++ linux-2.6.24-rc8-mm1/drivers/ata/pata_mpc52xx.c 2008-01-19
14:56:41.000000000 +0000
@@ -364,7 +364,7 @@
{
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;
-
To unsubscribe from this list: send the line "unsubscribe linux-ide" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at http://vger.kernel.org/majordomo-info.html