summaryrefslogtreecommitdiffstats
path: root/drivers/ata
diff options
context:
space:
mode:
authorAlan Cox <alan@lxorguk.ukuu.org.uk>2008-01-19 16:48:59 +0100
committerJeff Garzik <jeff@garzik.org>2008-01-23 11:24:17 +0100
commit0eaea364edec4132fe42ef33fe87edb15f00507b (patch)
treec60cd3d0f1d0a80a92fd79965a662563d32b26e6 /drivers/ata
parentlibata: fix off-by-one in error categorization (diff)
downloadlinux-0eaea364edec4132fe42ef33fe87edb15f00507b.tar.xz
linux-0eaea364edec4132fe42ef33fe87edb15f00507b.zip
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/ata')
-rw-r--r--drivers/ata/pata_mpc52xx.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/ata/pata_mpc52xx.c b/drivers/ata/pata_mpc52xx.c
index 50c56e2814c1..dc401626cdb2 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;