summaryrefslogtreecommitdiffstats
path: root/security/tomoyo/common.h
diff options
context:
space:
mode:
authorLucas De Marchi <lucas.demarchi@intel.com>2022-01-26 01:39:50 -0800
committerLucas De Marchi <lucas.demarchi@intel.com>2022-02-07 13:04:44 -0800
commitea181a3494699f48e80687e3d467d443883ae0e9 (patch)
tree0d4d4598b177809dea8ea3203707bf0f361fb99b /security/tomoyo/common.h
parentb8c75bd9746e3f1bdb5a1b6288b50dc2fdfec0ef (diff)
downloadlinux-ea181a3494699f48e80687e3d467d443883ae0e9.tar.bz2
tomoyo: Use str_yes_no()
Remove the local yesno() implementation and adopt the str_yes_no() from linux/string_helpers.h. Signed-off-by: Lucas De Marchi <lucas.demarchi@intel.com> Reviewed-by: Sakari Ailus <sakari.ailus@linux.intel.com> Link: https://patchwork.freedesktop.org/patch/msgid/20220126093951.1470898-11-lucas.demarchi@intel.com
Diffstat (limited to 'security/tomoyo/common.h')
-rw-r--r--security/tomoyo/common.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/security/tomoyo/common.h b/security/tomoyo/common.h
index 85246b9df7ca..ca285f362705 100644
--- a/security/tomoyo/common.h
+++ b/security/tomoyo/common.h
@@ -959,7 +959,6 @@ char *tomoyo_read_token(struct tomoyo_acl_param *param);
char *tomoyo_realpath_from_path(const struct path *path);
char *tomoyo_realpath_nofollow(const char *pathname);
const char *tomoyo_get_exe(void);
-const char *tomoyo_yesno(const unsigned int value);
const struct tomoyo_path_info *tomoyo_compare_name_union
(const struct tomoyo_path_info *name, const struct tomoyo_name_union *ptr);
const struct tomoyo_path_info *tomoyo_get_domainname