From 1c6bb4c5789c180d09653c04c6267cee5844b287 Mon Sep 17 00:00:00 2001 From: Michael Tuexen Date: Sun, 15 Sep 2024 11:44:49 +0200 Subject: [PATCH] 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