pata_mpc52xx: remove un-needed assignment

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Linux Kernel Mailing List
Date: Friday, January 25, 2008 - 7:01 pm

Gitweb:     http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=0eaea3...
Commit:     0eaea364edec4132fe42ef33fe87edb15f00507b
Parent:     75f9cafc2d24a1cf44d7c3f3e5b4f7a393afcf71
Author:     Alan Cox <alan@lxorguk.ukuu.org.uk>
AuthorDate: Sat Jan 19 15:48:59 2008 +0000
Committer:  Jeff Garzik <jeff@garzik.org>
CommitDate: Wed Jan 23 05:24:17 2008 -0500

    pata_mpc52xx: remove un-needed assignment
    
    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 |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/drivers/ata/pata_mpc52xx.c b/drivers/ata/pata_mpc52xx.c
index 50c56e2..dc40162 100644
--- a/drivers/ata/pata_mpc52xx.c
+++ b/drivers/ata/pata_mpc52xx.c
@@ -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;
-
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
pata_mpc52xx: remove un-needed assignment, Linux Kernel Mailing ..., (Fri Jan 25, 7:01 pm)