]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commitdiff
kernel/sysctl.c: avoid annoying warnings
authorLinus Torvalds <torvalds@linux-foundation.org>
Mon, 6 Apr 2009 20:38:46 +0000 (13:38 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Mon, 6 Apr 2009 20:38:46 +0000 (13:38 -0700)
Some of the limit constants are used only depending on some complex
configuration dependencies, yet it's not worth making the simple
variables depend on those configuration details.  Just mark them as
perhaps not being unused, and avoid the warning.

Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
kernel/sysctl.c

index 82350f8f04f61a276cfaedbd0ca7fb5e1ffea378..b125e3387568cc1c9c59b1cce982302a7693a40f 100644 (file)
@@ -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;