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:
Bi, Dandan 2016-09-22 10:51:10 +08:00 committed by Ruiyu Ni
parent 8f3ecc5e53
commit ea79dc2b77
1 changed files with 0 additions and 2 deletions

View File

@ -667,7 +667,6 @@ FillPkt2Queue (
UINT8* pData;
UINT32 offset;
RX_TX_PACKET * pRxPacket;
UINTN LengthInBytes;
EFI_STATUS Status;
for ( offset = 0; offset < BufLength; ){
@ -684,7 +683,6 @@ FillPkt2Queue (
}
pRxPacket = pNicDevice->pRxFree;
LengthInBytes = sizeof ( *pRxPacket ) - sizeof ( pRxPacket->pNext );
if ( NULL == pRxPacket ) {
Status = gBS->AllocatePool ( EfiRuntimeServicesData,
sizeof( RX_TX_PACKET ),