summaryrefslogtreecommitdiff
path: root/net/dccp/sysctl.c
diff options
context:
space:
mode:
authorDenis Kirjanov <kirjanov@gmail.com>2025-01-19 16:42:53 +0300
committerJakub Kicinski <kuba@kernel.org>2025-01-20 12:01:34 -0800
commit19d7750a06bb6063c8bcf2630766516215dc13dc (patch)
treee963eaecb0b653b5234e0fce4a7d301e6e7b5ba3 /net/dccp/sysctl.c
parent4fd001f5f32deb4c5e9dcd05612f8371b79d380e (diff)
sysctl net: Remove macro checks for CONFIG_SYSCTL
Since dccp and llc makefiles already check sysctl code compilation with xxx-$(CONFIG_SYSCTL) we can drop the checks Signed-off-by: Denis Kirjanov <kirjanov@gmail.com> Link: https://patch.msgid.link/20250119134254.19250-1-kirjanov@gmail.com Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'net/dccp/sysctl.c')
-rw-r--r--net/dccp/sysctl.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/net/dccp/sysctl.c b/net/dccp/sysctl.c
index 3fc474d6e57d..b15845fd6300 100644
--- a/net/dccp/sysctl.c
+++ b/net/dccp/sysctl.c
@@ -11,10 +11,6 @@
#include "dccp.h"
#include "feat.h"
-#ifndef CONFIG_SYSCTL
-#error This file should not be compiled without CONFIG_SYSCTL defined
-#endif
-
/* Boundary values */
static int u8_max = 0xFF;
static unsigned long seqw_min = DCCPF_SEQ_WMIN,