kernel/sysctl.c: avoid annoying warnings
Changes
1 files changed · +2 −2
| File | Status | Add | Del | Content |
|---|---|---|---|---|
| kernel/sysctl.c | modified | +2 | −2 | View file |
kernel/sysctl.c
View filediff --git a/kernel/sysctl.c b/kernel/sysctl.c
index 82350f8..b125e33 100644
--- a/kernel/sysctl.c
+++ b/kernel/sysctl.c
@@ -97,8 +97,8 @@ static int neg_one = -1;
#endif
static int zero;
-static int one = 1;
-static int two = 2;
+static int __maybe_unused one = 1;
+static int __maybe_unused two = 2;
static unsigned long one_ul = 1;
static int one_hundred = 100;