From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from gandalf.ozlabs.org (gandalf.ozlabs.org [150.107.74.76]) by passt.top (Postfix) with ESMTPS id E2F805A026B for ; Mon, 14 Nov 2022 07:17:19 +0100 (CET) Received: by gandalf.ozlabs.org (Postfix, from userid 1007) id 4N9fGy1LDkz4xZh; Mon, 14 Nov 2022 17:17:14 +1100 (AEDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gibson.dropbear.id.au; s=201602; t=1668406634; bh=rNpXOKFUwd5d+WHmf16HRGpRFrK/aGEB28ycBfuQ6oo=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=ilhURoOzU6qDVebb7j2fjaLoY23cfTal9isJTqnMKgHnGhZ+7urdpSAsIifMEaKWx 5oLy4rMqSwIzPMBUXJIN9QA2+DSV55DQNz+XApRdwK3Tt/iBI4+QfdKQe6Qb/DX9wi N9VFelpyR5OksDXwJQ0/tZFfyeaUFQa7u1O0nYdU= From: David Gibson To: passt-dev@passt.top, Stefano Brivio Subject: [PATCH 02/14] tcp: Remove unused TCP_MAX_SOCKS constant Date: Mon, 14 Nov 2022 17:16:59 +1100 Message-Id: <20221114061711.1655510-3-david@gibson.dropbear.id.au> X-Mailer: git-send-email 2.38.1 In-Reply-To: <20221114061711.1655510-1-david@gibson.dropbear.id.au> References: <20221114061711.1655510-1-david@gibson.dropbear.id.au> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Message-ID-Hash: H2NU7QQHYGTR77DBAXETY5MEKGZU5HNP X-Message-ID-Hash: H2NU7QQHYGTR77DBAXETY5MEKGZU5HNP X-MailFrom: dgibson@gandalf.ozlabs.org X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header CC: David Gibson X-Mailman-Version: 3.3.3 Precedence: list List-Id: Development discussion and patches for passt Archived-At: Archived-At: List-Archive: List-Archive: List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: Presumably it meant something in the past, but it's no longer used. Signed-off-by: David Gibson --- tcp.h | 1 - 1 file changed, 1 deletion(-) diff --git a/tcp.h b/tcp.h index 3fabb5a..bba0f38 100644 --- a/tcp.h +++ b/tcp.h @@ -10,7 +10,6 @@ #define TCP_CONN_INDEX_BITS 17 /* 128k */ #define TCP_MAX_CONNS (1 << TCP_CONN_INDEX_BITS) -#define TCP_MAX_SOCKS (TCP_MAX_CONNS + USHRT_MAX * 2) #define TCP_SOCK_POOL_SIZE 32 -- 2.38.1