From 856091f036cec47b9d4ed08e81f01d0a712d2827 Mon Sep 17 00:00:00 2001 From: Kinjal Pravinbhai Patel Date: Mon, 2 Feb 2015 17:37:50 +0530 Subject: [PATCH] drivers: scugic: change in low level example This patch removes unused variable in low level example to fix compilation error Signed-off-by: Kinjal Pravinbhai Patel --- .../drivers/scugic/examples/xscugic_low_level_example.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/XilinxProcessorIPLib/drivers/scugic/examples/xscugic_low_level_example.c b/XilinxProcessorIPLib/drivers/scugic/examples/xscugic_low_level_example.c index c9d37b81..05696ba3 100755 --- a/XilinxProcessorIPLib/drivers/scugic/examples/xscugic_low_level_example.c +++ b/XilinxProcessorIPLib/drivers/scugic/examples/xscugic_low_level_example.c @@ -300,12 +300,9 @@ void LowInterruptHandler(void *CallbackRef) static void GicDistInit(u32 BaseAddress) { u32 Int_Id; - u32 MaxInt_In; XScuGic_WriteReg(BaseAddress, XSCUGIC_DIST_EN_OFFSET, 0UL); - MaxInt_In = XScuGic_ReadReg(BaseAddress, XSCUGIC_IC_TYPE_OFFSET); - /* * Set the security domains in the int_security registers for non-secure interrupts * All are secure, so leave at the default. Set to 1 for non-secure interrupts.