summaryrefslogtreecommitdiffstats
path: root/NetworkPkg/IScsiDxe
diff options
context:
space:
mode:
authorSongpeng Li <songpeng.li@intel.com>2019-01-10 10:16:13 +0800
committerJiaxin Wu <Jiaxin.wu@intel.com>2019-01-15 09:39:13 +0800
commit44e5fa81e3c1d6d040f2a405211565b2cd81534f (patch)
tree4bd2a729a0a026028acc054b1ad140967b52e99a /NetworkPkg/IScsiDxe
parent76c23f9e0d0d65866e4195b0bc12c1ca2763ced2 (diff)
downloadedk2-44e5fa81e3c1d6d040f2a405211565b2cd81534f.tar.gz
edk2-44e5fa81e3c1d6d040f2a405211565b2cd81534f.tar.bz2
edk2-44e5fa81e3c1d6d040f2a405211565b2cd81534f.zip
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 <jiaxin.wu@intel.com> Cc: Siyuan Fu <siyuan.fu@intel.com> Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Songpeng Li <songpeng.li@intel.com> Reviewed-by: Jiaxin Wu <jiaxin.wu@intel.com> Reviewed-by: Siyuan Fu <siyuan.fu@intel.com>
Diffstat (limited to 'NetworkPkg/IScsiDxe')
-rw-r--r--NetworkPkg/IScsiDxe/IScsiConfig.c2
1 files changed, 0 insertions, 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 = {