X-Git-Url: https://git.proxmox.com/?p=mirror_edk2.git;a=blobdiff_plain;f=ShellPkg%2FLibrary%2FUefiShellNetwork1CommandsLib%2FIfconfig.c;h=df19a9f90240a20d6f39ef0238d1aa2b327640bb;hp=6977d6b67fdd28e09dc1dc19633205e38f6db2fc;hb=41a55ffe795c7507def0dbe61ae87c9633c13833;hpb=c960bdc2dcfad4ececbe208fbe3a25adea6dceea;ds=sidebyside diff --git a/ShellPkg/Library/UefiShellNetwork1CommandsLib/Ifconfig.c b/ShellPkg/Library/UefiShellNetwork1CommandsLib/Ifconfig.c index 6977d6b67f..df19a9f902 100644 --- a/ShellPkg/Library/UefiShellNetwork1CommandsLib/Ifconfig.c +++ b/ShellPkg/Library/UefiShellNetwork1CommandsLib/Ifconfig.c @@ -517,15 +517,12 @@ IfConfigShowInterfaceInfo ( IN LIST_ENTRY *IfList ) { - EFI_STATUS Status; LIST_ENTRY *Entry; LIST_ENTRY *Next; IFCONFIG_INTERFACE_CB *IfCb; EFI_IPv4_ADDRESS Gateway; UINT32 Index; - Status = EFI_SUCCESS; - if (IsListEmpty (IfList)) { ShellPrintHiiEx (-1, -1, NULL, STRING_TOKEN (STR_IFCONFIG_INVALID_INTERFACE), gShellNetwork1HiiHandle); }