mirror of https://github.com/acidanthera/audk.git
OptionRomPkg: Fix GCC build failure
Remove the variable which is set but not used to pass GCC build. Reviewed-by: Ruiyu Ni <ruiyu.ni@intel.com> Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Dandan Bi <dandan.bi@intel.com>
This commit is contained in:
parent
8f3ecc5e53
commit
ea79dc2b77
|
@ -667,7 +667,6 @@ FillPkt2Queue (
|
||||||
UINT8* pData;
|
UINT8* pData;
|
||||||
UINT32 offset;
|
UINT32 offset;
|
||||||
RX_TX_PACKET * pRxPacket;
|
RX_TX_PACKET * pRxPacket;
|
||||||
UINTN LengthInBytes;
|
|
||||||
EFI_STATUS Status;
|
EFI_STATUS Status;
|
||||||
|
|
||||||
for ( offset = 0; offset < BufLength; ){
|
for ( offset = 0; offset < BufLength; ){
|
||||||
|
@ -684,7 +683,6 @@ FillPkt2Queue (
|
||||||
}
|
}
|
||||||
|
|
||||||
pRxPacket = pNicDevice->pRxFree;
|
pRxPacket = pNicDevice->pRxFree;
|
||||||
LengthInBytes = sizeof ( *pRxPacket ) - sizeof ( pRxPacket->pNext );
|
|
||||||
if ( NULL == pRxPacket ) {
|
if ( NULL == pRxPacket ) {
|
||||||
Status = gBS->AllocatePool ( EfiRuntimeServicesData,
|
Status = gBS->AllocatePool ( EfiRuntimeServicesData,
|
||||||
sizeof( RX_TX_PACKET ),
|
sizeof( RX_TX_PACKET ),
|
||||||
|
|
Loading…
Reference in New Issue