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>
This commit is contained in:
Родитель
561381a146
Коммит
08162e6a23
|
@ -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[] = {
|
||||
|
|
Загрузка…
Ссылка в новой задаче