diff options
author | Dan Carpenter <dan.carpenter@oracle.com> | 2012-04-20 09:35:24 -0400 |
---|---|---|
committer | James Morris <james.l.morris@oracle.com> | 2012-04-23 03:20:22 -0400 |
commit | 08162e6a23d476544adfe1164afe9ea8b34ab859 (patch) | |
tree | ace0b15f2f0aa6106d42191c8edaecc91f0322cc /security/yama | |
parent | 561381a146a31ff91d7a2370c10871b02ac7343c (diff) |
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 <dan.carpenter@oracle.com>
Acked-by: Kees Cook <keescook@chromium.org>
Signed-off-by: James Morris <james.l.morris@oracle.com>
Diffstat (limited to 'security/yama')
-rw-r--r-- | security/yama/yama_lsm.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/security/yama/yama_lsm.c b/security/yama/yama_lsm.c index afb04cbb6971..c852f7472ad0 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, | |||
319 | } | 319 | } |
320 | 320 | ||
321 | static int zero; | 321 | static int zero; |
322 | static int one = 1; | ||
323 | static int max_scope = YAMA_SCOPE_NO_ATTACH; | 322 | static int max_scope = YAMA_SCOPE_NO_ATTACH; |
324 | 323 | ||
325 | struct ctl_path yama_sysctl_path[] = { | 324 | struct ctl_path yama_sysctl_path[] = { |