Skip to content

Commit 254a8ed

Browse files
GONG, RuiqiTetsuo Handa
authored andcommitted
tomoyo: remove unused function declaration
The last usage of tomoyo_check_flags() has been removed by commit 57c2590 ("TOMOYO: Update profile structure."). Clean up its residual declaration. Signed-off-by: GONG, Ruiqi <gongruiqi1@huawei.com> Signed-off-by: Tetsuo Handa <penguin-kernel@I-love.SAKURA.ne.jp>
1 parent 7b9ef66 commit 254a8ed

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

security/tomoyo/common.h

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1037,8 +1037,6 @@ struct tomoyo_policy_namespace *tomoyo_assign_namespace
10371037
(const char *domainname);
10381038
struct tomoyo_profile *tomoyo_profile(const struct tomoyo_policy_namespace *ns,
10391039
const u8 profile);
1040-
unsigned int tomoyo_check_flags(const struct tomoyo_domain_info *domain,
1041-
const u8 index);
10421040
u8 tomoyo_parse_ulong(unsigned long *result, char **str);
10431041
void *tomoyo_commit_ok(void *data, const unsigned int size);
10441042
void __init tomoyo_load_builtin_policy(void);

0 commit comments

Comments
 (0)