Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

net: sysctl: remove redundant #ifdef CONFIG_NET

CONFIG_NET is a bool option, and this file is compiled only when
CONFIG_NET=y.

Remove #ifdef CONFIG_NET, which we know it is always met.

Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
Link: https://lore.kernel.org/r/20210125231421.105936-1-masahiroy@kernel.org
Signed-off-by: Jakub Kicinski <kuba@kernel.org>

authored by

Masahiro Yamada and committed by
Jakub Kicinski
69783429 fd0e4ec4

-2
-2
net/core/sysctl_net_core.c
··· 309 309 #endif 310 310 311 311 static struct ctl_table net_core_table[] = { 312 - #ifdef CONFIG_NET 313 312 { 314 313 .procname = "wmem_max", 315 314 .data = &sysctl_wmem_max, ··· 506 507 .proc_handler = set_default_qdisc 507 508 }, 508 509 #endif 509 - #endif /* CONFIG_NET */ 510 510 { 511 511 .procname = "netdev_budget", 512 512 .data = &netdev_budget,