[PATCH] pata_mpc52xx: remove un-needed assignment

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



ata_irq is always assigned so does not need to be initialised to zero.

Signed-off-by: Alan Cox <alan@xxxxxxxxxx>

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 majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Filesystems]     [Linux SCSI]     [Linux RAID]     [Git]     [Kernel Newbies]     [Linux Newbie]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Samba]     [Device Mapper]

  Powered by Linux