diff options
author | Lucas De Marchi <lucas.demarchi@intel.com> | 2022-01-26 10:39:50 +0100 |
---|---|---|
committer | Lucas De Marchi <lucas.demarchi@intel.com> | 2022-02-07 22:04:44 +0100 |
commit | ea181a3494699f48e80687e3d467d443883ae0e9 (patch) | |
tree | 0d4d4598b177809dea8ea3203707bf0f361fb99b /security/tomoyo/common.h | |
parent | drm: Convert open-coded yes/no strings to yesno() (diff) | |
download | linux-ea181a3494699f48e80687e3d467d443883ae0e9.tar.xz linux-ea181a3494699f48e80687e3d467d443883ae0e9.zip |
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.h | 1 |
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 |