[PATCH] arm/tegra: remove unused defines
Stephen Warren
swarren at nvidia.com
Wed Nov 2 12:34:40 EDT 2011
Peter De Schrijver wrote at Wednesday, November 02, 2011 9:25 AM:
> PPI_NR is never used in arch/arm/mach-tegra/irq.c. Remove it.
>
> Signed-off-by: Peter De Schrijver <pdeschrijver at nvidia.com>
Acked-by: Stephen Warren <swarren at nvidia.com>
For reference, I investigated why the defines aren't used, and found:
Those defines were introduced by:
commit 460907bc26f5565aced3cf35a10e3579c671ef50
[ARM] tegra: add suspend and mirror irqs to legacy controller
3524b70ef3336a4f1351a489e83894b88106ab7c moved those defines
into legacy_irq.c (and appears to have added define NUM_ICTLRS to replace
them) and d1d8c666683cdbef18329ff8f3743ddaca8842ee moved them back.
> -#define INT_SYS_NR (INT_GPIO_BASE - INT_PRI_BASE)
> -#define INT_SYS_SZ (INT_SEC_BASE - INT_PRI_BASE)
> -#define PPI_NR ((INT_SYS_NR+INT_SYS_SZ-1)/INT_SYS_SZ)
--
nvpublic
More information about the linux-arm-kernel
mailing list