emacps_v3_0: Removed compilation error and warning in emacps.

This patch removes the compilation error and warning in the emacps driver.

Signed-off-by: P L Sai Krishna <lakshmis@xilinx.com>
This commit is contained in:
P L Sai Krishna 2014-12-16 16:44:43 +05:30 committed by Suneel Garapati
parent df34d489a9
commit a0a72be451
2 changed files with 2 additions and 2 deletions

View file

@ -653,11 +653,11 @@ u32 XEmacPs_BdRingFromHwTx(XEmacPs_BdRing * RingPtr, u32 BdLimit,
u32 BdCount;
u32 BdPartialCount;
u32 Sop = 0U;
u32 Status;
u32 BdLimitLoc = BdLimit;
CurBdPtr = RingPtr->HwHead;
BdCount = 0U;
BdPartialCount = 0U;
u32 Status;
/* If no BDs in work group, then there's nothing to search */
if (RingPtr->HwCnt == 0x00000000U) {

View file

@ -146,7 +146,7 @@ void XEmacPs_IntrHandler(void *XEmacPsPtr)
u32 RegISR;
u32 RegSR;
u32 RegCtrl;
u32 RegQ1ISR;
u32 RegQ1ISR = 0U;
XEmacPs *InstancePtr = (XEmacPs *) XEmacPsPtr;
Xil_AssertVoid(InstancePtr != NULL);