Commit 19d7750a authored by Denis Kirjanov's avatar Denis Kirjanov Committed by Jakub Kicinski
Browse files

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: default avatarDenis Kirjanov <kirjanov@gmail.com>
Link: https://patch.msgid.link/20250119134254.19250-1-kirjanov@gmail.com


Signed-off-by: default avatarJakub Kicinski <kuba@kernel.org>
parent 4fd001f5
Loading
Loading
Loading
Loading
+0 −4
Original line number Diff line number Diff line
@@ -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,
+0 −4
Original line number Diff line number Diff line
@@ -11,10 +11,6 @@
#include <net/net_namespace.h>
#include <net/llc.h>

#ifndef CONFIG_SYSCTL
#error This file should not be compiled without CONFIG_SYSCTL defined
#endif

static struct ctl_table llc2_timeout_table[] = {
	{
		.procname	= "ack",