From 113db66a9a40447e230bf55f07303971f221b956 Mon Sep 17 00:00:00 2001 From: Shuhei Matsumoto Date: Thu, 14 Feb 2019 16:09:09 +0900 Subject: [PATCH] iscsi: Remove unused macro constant MAX_SESSIONS Change-Id: I72fcb458d46f90b1036cfa346fbc675b8c21cf2f Signed-off-by: Shuhei Matsumoto Reviewed-on: https://review.gerrithub.io/c/444534 Tested-by: SPDK CI Jenkins Reviewed-by: Pawel Wodkowski Reviewed-by: Ben Walker Reviewed-by: Jim Harris --- lib/iscsi/iscsi.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/lib/iscsi/iscsi.h b/lib/iscsi/iscsi.h index 98309e8d33..6734f5b181 100644 --- a/lib/iscsi/iscsi.h +++ b/lib/iscsi/iscsi.h @@ -58,8 +58,7 @@ #define MAX_PORTAL 1024 #define MAX_INITIATOR 256 #define MAX_NETMASK 256 -#define MAX_SESSIONS 1024 -#define MAX_ISCSI_CONNECTIONS MAX_SESSIONS +#define MAX_ISCSI_CONNECTIONS 1024 #define MAX_FIRSTBURSTLENGTH 16777215 #define DEFAULT_PORT 3260