From 08162e6a23d476544adfe1164afe9ea8b34ab859 Mon Sep 17 00:00:00 2001 From: Dan Carpenter Date: Fri, 20 Apr 2012 16:35:24 +0300 Subject: Yama: remove an unused variable GCC complains that we don't use "one" any more after 389da25f93 "Yama: add additional ptrace scopes". security/yama/yama_lsm.c:322:12: warning: ?one? defined but not used [-Wunused-variable] Signed-off-by: Dan Carpenter Acked-by: Kees Cook Signed-off-by: James Morris diff --git a/security/yama/yama_lsm.c b/security/yama/yama_lsm.c index afb04cb..c852f74 100644 --- a/security/yama/yama_lsm.c +++ b/security/yama/yama_lsm.c @@ -319,7 +319,6 @@ static int yama_dointvec_minmax(struct ctl_table *table, int write, } static int zero; -static int one = 1; static int max_scope = YAMA_SCOPE_NO_ATTACH; struct ctl_path yama_sysctl_path[] = { -- cgit v0.10.2