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 <patelki@xilinx.com>
This commit is contained in:
Kinjal Pravinbhai Patel 2015-02-02 17:37:50 +05:30 committed by Nava kishore Manne
parent 513490e787
commit 856091f036

View file

@ -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.