From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from gandalf.ozlabs.org (mail.ozlabs.org [IPv6:2404:9400:2221:ea00::3]) by passt.top (Postfix) with ESMTPS id 7780F5A005E for ; Thu, 17 Nov 2022 06:59:14 +0100 (CET) Received: by gandalf.ozlabs.org (Postfix, from userid 1007) id 4NCTkl1mtTz4xbN; Thu, 17 Nov 2022 16:59:11 +1100 (AEDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gibson.dropbear.id.au; s=201602; t=1668664751; bh=rNpXOKFUwd5d+WHmf16HRGpRFrK/aGEB28ycBfuQ6oo=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=oeuJ6keeGvheKo4D82JjnxKlEAlTe87wW5/3t8yjwMCz2HCXhRbMJlkEIJ7xcNgze R3zKbkm4JzUomqty7UhVRZoR/lN/hGrbPvJPVFByNFBoh9LXQS0x3vPvfcGAc4QDxd NHmrEwTRIuBXSjlyzIcY6XYSCM0+3S9vP37ZK1rk= From: David Gibson To: passt-dev@passt.top, Stefano Brivio Subject: [PATCH v2 04/32] tcp: Remove unused TCP_MAX_SOCKS constant Date: Thu, 17 Nov 2022 16:58:40 +1100 Message-Id: <20221117055908.2782981-5-david@gibson.dropbear.id.au> X-Mailer: git-send-email 2.38.1 In-Reply-To: <20221117055908.2782981-1-david@gibson.dropbear.id.au> References: <20221117055908.2782981-1-david@gibson.dropbear.id.au> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Message-ID-Hash: RS64QNA5UK4QZL2J6VFERWGMN26JRDMO X-Message-ID-Hash: RS64QNA5UK4QZL2J6VFERWGMN26JRDMO 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