From 44e5fa81e3c1d6d040f2a405211565b2cd81534f Mon Sep 17 00:00:00 2001 From: Songpeng Li Date: Thu, 10 Jan 2019 10:16:13 +0800 Subject: [PATCH] NetworkPkg/IScsiDxe: Remove unused global variables. REF: https://bugzilla.tianocore.org/show_bug.cgi?id=1413 Global variables mIScsiDeviceListUpdated and mNumberOfIScsiDevices have never been used, this patch is to clean them. Cc: Jiaxin Wu Cc: Siyuan Fu Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Songpeng Li Reviewed-by: Jiaxin Wu Reviewed-by: Siyuan Fu --- NetworkPkg/IScsiDxe/IScsiConfig.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/NetworkPkg/IScsiDxe/IScsiConfig.c b/NetworkPkg/IScsiDxe/IScsiConfig.c index 893eca61d5..83644f51d8 100644 --- a/NetworkPkg/IScsiDxe/IScsiConfig.c +++ b/NetworkPkg/IScsiDxe/IScsiConfig.c @@ -15,8 +15,6 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED. #include "IScsiImpl.h" CHAR16 mVendorStorageName[] = L"ISCSI_CONFIG_IFR_NVDATA"; -BOOLEAN mIScsiDeviceListUpdated = FALSE; -UINTN mNumberOfIScsiDevices = 0; ISCSI_FORM_CALLBACK_INFO *mCallbackInfo = NULL; HII_VENDOR_DEVICE_PATH mIScsiHiiVendorDevicePath = {