tomoyo: remove unused function declaration
authorGONG, Ruiqi <gongruiqi1@huawei.com>
Fri, 11 Aug 2023 13:32:45 +0000 (21:32 +0800)
committerTetsuo Handa <penguin-kernel@I-love.SAKURA.ne.jp>
Sun, 13 Aug 2023 13:07:15 +0000 (22:07 +0900)
The last usage of tomoyo_check_flags() has been removed by commit
57c2590fb7fd ("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>
security/tomoyo/common.h

index e669837ed0e312b2c53c03245836a2a54bbbefe1..0e8e2e959aef4ec0a96c1bd98aa53c2a87da4e69 100644 (file)
@@ -1037,8 +1037,6 @@ struct tomoyo_policy_namespace *tomoyo_assign_namespace
 (const char *domainname);
 struct tomoyo_profile *tomoyo_profile(const struct tomoyo_policy_namespace *ns,
                                      const u8 profile);
-unsigned int tomoyo_check_flags(const struct tomoyo_domain_info *domain,
-                               const u8 index);
 u8 tomoyo_parse_ulong(unsigned long *result, char **str);
 void *tomoyo_commit_ok(void *data, const unsigned int size);
 void __init tomoyo_load_builtin_policy(void);