diff --git a/source/portable/NetworkInterface/xilinx_ultrascale/NetworkInterface.c b/source/portable/NetworkInterface/xilinx_ultrascale/NetworkInterface.c index ef060b3e22..ad395d653c 100644 --- a/source/portable/NetworkInterface/xilinx_ultrascale/NetworkInterface.c +++ b/source/portable/NetworkInterface/xilinx_ultrascale/NetworkInterface.c @@ -278,7 +278,7 @@ static EMACState_t eEMACStates[ XPAR_XEMACPS_NUM_INSTANCES ] = { xEMAC_Init }; static BaseType_t xUltrascaleNetworkInterfaceInitialise( NetworkInterface_t * pxInterface ) { - uint32_t ulLinkSpeed, ulDMAReg; + uint32_t ulLinkSpeed; BaseType_t xStatus, xReturn = pdFAIL; XEmacPs * pxEMAC_PS; const TickType_t xWaitLinkDelay = pdMS_TO_TICKS( 1000U );