diff options
author | Shivamurthy Shastri <shivamurthy.shastri@linaro.org> | 2016-03-30 13:24:58 +0800 |
---|---|---|
committer | Ruiyu Ni <ruiyu.ni@intel.com> | 2016-03-30 13:40:24 +0800 |
commit | 45e675f2d0eeda0511b5d6e0ed54f62f94c3826f (patch) | |
tree | da1557aac3333017c210fb484aba54059e610d17 | |
parent | 9a1c4beca0463066660635c2494bb8cf66d4c4bd (diff) | |
download | edk2-platforms-45e675f2d0eeda0511b5d6e0ed54f62f94c3826f.tar.xz |
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>
-rw-r--r-- | OptionRomPkg/Bus/Usb/UsbNetworking/Ax88772b/SimpleNetwork.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/OptionRomPkg/Bus/Usb/UsbNetworking/Ax88772b/SimpleNetwork.c b/OptionRomPkg/Bus/Usb/UsbNetworking/Ax88772b/SimpleNetwork.c index 9eeb61f87b..c061a6be9b 100644 --- a/OptionRomPkg/Bus/Usb/UsbNetworking/Ax88772b/SimpleNetwork.c +++ b/OptionRomPkg/Bus/Usb/UsbNetworking/Ax88772b/SimpleNetwork.c @@ -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) {
|