[linux-yocto] [PATCH 25/35] arch/arm/mach-axxia: Fix Compiler Warnings

Bruce Ashfield bruce.ashfield at windriver.com
Sun Nov 16 20:46:03 PST 2014


On 2014-11-13, 12:19 PM, Daniel Dragomir wrote:
> From: John Jacques <john.jacques at lsi.com>

We should have a sample of the compiler warning here, and a reference
to the commit that introduced it.

Bruce

>
> Signed-off-by: John Jacques <john.jacques at lsi.com>
> ---
>   arch/arm/mach-axxia/axxia-gic.c | 3 ---
>   1 file changed, 3 deletions(-)
>
> diff --git a/arch/arm/mach-axxia/axxia-gic.c b/arch/arm/mach-axxia/axxia-gic.c
> index c670f3d..29a80f6 100644
> --- a/arch/arm/mach-axxia/axxia-gic.c
> +++ b/arch/arm/mach-axxia/axxia-gic.c
> @@ -48,8 +48,6 @@
>   #include "lsi_power_management.h"
>
>   #define MAX_GIC_INTERRUPTS  1020
> -#define MAX_NUM_CLUSTERS    4
> -#define CORES_PER_CLUSTER   4
>
>   static u32 irq_cpuid[MAX_GIC_INTERRUPTS];
>   static void __iomem *ipi_mask_reg_base;
> @@ -1366,7 +1364,6 @@ void __cpuinit axxia_gic_secondary_init(void)
>
>   void __cpuinit axxia_hotplug_gic_secondary_init(void)
>   {
> -	struct gic_chip_data *gic = &gic_data;
>   	gic_cpu_init(&gic_data);
>   }
>
>



More information about the linux-yocto mailing list