OptionRomPkg: Ax88772b: Fixing compilation

error: pNicDevice variable set but not used

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Shivamurthy Shastri <shivamurthy.shastri@linaro.org>
Reviewed-by: Ryan Harkin <ryan.harkin@linaro.org>
Reviewed-by: Jiaxin Wu <jiaxin.wu@intel.com>
This commit is contained in:
Shivamurthy Shastri 2016-03-30 13:24:58 +08:00 committed by Ruiyu Ni
parent 9a1c4beca0
commit 45e675f2d0
1 changed files with 0 additions and 2 deletions

View File

@ -700,10 +700,8 @@ SN_ReceiveFilters (
EFI_SIMPLE_NETWORK_MODE * pMode;
EFI_STATUS Status = EFI_SUCCESS;
EFI_TPL TplPrevious;
NIC_DEVICE * pNicDevice;
TplPrevious = gBS->RaiseTPL(TPL_CALLBACK);
pNicDevice = DEV_FROM_SIMPLE_NETWORK ( pSimpleNetwork );
pMode = pSimpleNetwork->Mode;
if (pSimpleNetwork == NULL) {