git: 1c6bb4c5789c - main - tcp: remove TCP_OFFLOAD_DISABLE

From: Michael Tuexen <tuexen_at_FreeBSD.org>
Date: Mon, 16 Sep 2024 10:56:50 UTC
The branch main has been updated by tuexen:

URL: https://cgit.FreeBSD.org/src/commit/?id=1c6bb4c5789c180d09653c04c6267cee5844b287

commit 1c6bb4c5789c180d09653c04c6267cee5844b287
Author:     Michael Tuexen <tuexen@FreeBSD.org>
AuthorDate: 2024-09-15 09:44:49 +0000
Commit:     Michael Tuexen <tuexen@FreeBSD.org>
CommitDate: 2024-09-15 09:44:49 +0000

    tcp: remove TCP_OFFLOAD_DISABLE
    
    TCP_OFFLOAD_DISABLE is nowhere else used or defined. So remove it.
    No functional change intended.
    
    Reviewed by:            np
    MFC after:              1 week
    Sponsored by:           Netflix, Inc.
    Differential Revision:  https://reviews.freebsd.org/D46669
---
 sys/netinet/tcp_syncache.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys/netinet/tcp_syncache.h b/sys/netinet/tcp_syncache.h
index e6485f42c0e4..55e062e35a54 100644
--- a/sys/netinet/tcp_syncache.h
+++ b/sys/netinet/tcp_syncache.h
@@ -67,7 +67,7 @@ struct syncache {
 	u_int8_t	sc_requested_s_scale:4,
 			sc_requested_r_scale:4;
 	u_int16_t	sc_flags;
-#if defined(TCP_OFFLOAD) || !defined(TCP_OFFLOAD_DISABLE)
+#if defined(TCP_OFFLOAD)
 	struct toedev	*sc_tod;		/* entry added by this TOE */
 	void		*sc_todctx;		/* TOE driver context */
 #endif