diff options
Diffstat (limited to 'OptionRomPkg/Bus/Usb/UsbNetworking/Ax88772')
-rw-r--r-- | OptionRomPkg/Bus/Usb/UsbNetworking/Ax88772/Ax88772.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/OptionRomPkg/Bus/Usb/UsbNetworking/Ax88772/Ax88772.c b/OptionRomPkg/Bus/Usb/UsbNetworking/Ax88772/Ax88772.c index dd18a957b8..73d54f0bfc 100644 --- a/OptionRomPkg/Bus/Usb/UsbNetworking/Ax88772/Ax88772.c +++ b/OptionRomPkg/Bus/Usb/UsbNetworking/Ax88772/Ax88772.c @@ -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 ),
|