projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
75f9caf
)
pata_mpc52xx: remove un-needed assignment
author
Alan Cox
<alan@lxorguk.ukuu.org.uk>
Sat, 19 Jan 2008 15:48:59 +0000
(15:48 +0000)
committer
Jeff Garzik
<jeff@garzik.org>
Wed, 23 Jan 2008 10:24:17 +0000
(
05:24
-0500)
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
patch
|
blob
|
history
diff --git
a/drivers/ata/pata_mpc52xx.c
b/drivers/ata/pata_mpc52xx.c
index 50c56e2814c1e0c6a777ed7ef80534d8e9012d73..dc401626cdb2a01eaa206eddbed33e9175dc24ea 100644
(file)
--- 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;