ShellPkg: Remove Status definition in function scope
[mirror_edk2.git] / ShellPkg / Library / UefiShellNetwork1CommandsLib / Ifconfig.c
index 6977d6b67fdd28e09dc1dc19633205e38f6db2fc..df19a9f90240a20d6f39ef0238d1aa2b327640bb 100644 (file)
@@ -517,15 +517,12 @@ IfConfigShowInterfaceInfo (
   IN LIST_ENTRY    *IfList\r
   )\r
 {\r
-  EFI_STATUS                Status;\r
   LIST_ENTRY                *Entry;\r
   LIST_ENTRY                *Next;\r
   IFCONFIG_INTERFACE_CB     *IfCb;\r
   EFI_IPv4_ADDRESS          Gateway;\r
   UINT32                    Index;\r
 \r
-  Status = EFI_SUCCESS;\r
-\r
   if (IsListEmpty (IfList)) {\r
     ShellPrintHiiEx (-1, -1, NULL, STRING_TOKEN (STR_IFCONFIG_INVALID_INTERFACE), gShellNetwork1HiiHandle);\r
   }\r