Skip to content

Commit

Permalink
ARM: amba: ux500: get rid of NO_IRQ
Browse files Browse the repository at this point in the history
irq 0 now means no irq, so get rid of this unnecessary initializer.

Acked-by: srinidhi kasagar <srinidhi.kasagar@stericsson.com>
Acked-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
  • Loading branch information
Russell King committed Jan 25, 2012
1 parent 023f117 commit 4ce02fd
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion arch/arm/mach-ux500/devices-common.c
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,6 @@ dbx500_add_amba_device(const char *name, resource_size_t base,
dev->dev.coherent_dma_mask = DMA_BIT_MASK(32);

dev->irq[0] = irq;
dev->irq[1] = NO_IRQ;

dev->periphid = periphid;

Expand Down

0 comments on commit 4ce02fd

Please sign in to comment.