mirror of https://github.com/acidanthera/audk.git
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:
parent
9a1c4beca0
commit
45e675f2d0
|
@ -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) {
|
||||
|
|
Loading…
Reference in New Issue