]> git.proxmox.com Git - mirror_edk2.git/blobdiff - OptionRomPkg/Bus/Usb/UsbNetworking/Ax88772b/SimpleNetwork.c
OptionRomPkg: Fix typos in comments
[mirror_edk2.git] / OptionRomPkg / Bus / Usb / UsbNetworking / Ax88772b / SimpleNetwork.c
index 9eeb61f87be34acf5579004d2d7151486af827ad..cee028c94ce4590f32411fd0286595e151dd076b 100644 (file)
@@ -1,7 +1,7 @@
 /** @file\r
   Provides the Simple Network functions.\r
 \r
-  Copyright (c) 2011 - 2013, Intel Corporation\r
+  Copyright (c) 2011 - 2016, Intel Corporation\r
   All rights reserved. This program and the accompanying materials\r
   are licensed and made available under the terms and conditions of the BSD License\r
   which accompanies this distribution.  The full text of the license may be found at\r
@@ -233,7 +233,7 @@ SN_GetStatus (
 \r
   @retval EFI_SUCCESS           This operation was successful.\r
   @retval EFI_NOT_STARTED       The network interface was not started.\r
-  @retval EFI_OUT_OF_RESORUCES  There was not enough memory for the transmit and receive buffers\r
+  @retval EFI_OUT_OF_RESOURCES  There was not enough memory for the transmit and receive buffers\r
   @retval EFI_INVALID_PARAMETER pSimpleNetwork parameter was NULL or did not point to a valid\r
                                 EFI_SIMPLE_NETWORK_PROTOCOL structure.\r
   @retval EFI_DEVICE_ERROR      The command could not be sent to the network interface.\r
@@ -700,10 +700,8 @@ SN_ReceiveFilters (
   EFI_SIMPLE_NETWORK_MODE * pMode;\r
   EFI_STATUS Status = EFI_SUCCESS;   \r
   EFI_TPL TplPrevious; \r
-  NIC_DEVICE * pNicDevice;\r
 \r
   TplPrevious = gBS->RaiseTPL(TPL_CALLBACK);\r
-  pNicDevice = DEV_FROM_SIMPLE_NETWORK ( pSimpleNetwork );\r
   pMode = pSimpleNetwork->Mode;\r
 \r
   if (pSimpleNetwork == NULL) {\r