diff options
author | Alan Cox <alan@lxorguk.ukuu.org.uk> | 2008-01-19 15:48:59 +0000 |
---|---|---|
committer | Jeff Garzik <jeff@garzik.org> | 2008-01-23 05:24:17 -0500 |
commit | 0eaea364edec4132fe42ef33fe87edb15f00507b (patch) | |
tree | c60cd3d0f1d0a80a92fd79965a662563d32b26e6 /drivers | |
parent | 75f9cafc2d24a1cf44d7c3f3e5b4f7a393afcf71 (diff) | |
download | op-kernel-dev-0eaea364edec4132fe42ef33fe87edb15f00507b.zip op-kernel-dev-0eaea364edec4132fe42ef33fe87edb15f00507b.tar.gz |
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>
Diffstat (limited to 'drivers')
-rw-r--r-- | 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; |