Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 0eaea364 authored by Alan Cox's avatar Alan Cox Committed by Jeff Garzik
Browse files

pata_mpc52xx: remove un-needed assignment



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

Signed-off-by: default avatarAlan Cox <alan@redhat.com>
Signed-off-by: default avatarJeff Garzik <jeff@garzik.org>
parent 75f9cafc
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -364,7 +364,7 @@ mpc52xx_ata_probe(struct of_device *op, const struct of_device_id *match)
{
{
	unsigned int ipb_freq;
	unsigned int ipb_freq;
	struct resource res_mem;
	struct resource res_mem;
	int ata_irq = NO_IRQ;
	int ata_irq;
	struct mpc52xx_ata __iomem *ata_regs;
	struct mpc52xx_ata __iomem *ata_regs;
	struct mpc52xx_ata_priv *priv;
	struct mpc52xx_ata_priv *priv;
	int rv;
	int rv;