summaryrefslogtreecommitdiff
path: root/include/linux/fs_parser.h
diff options
context:
space:
mode:
authorZijun Hu <quic_zijuhu@quicinc.com>2025-04-11 23:31:40 +0800
committerChristian Brauner <brauner@kernel.org>2025-04-21 10:27:58 +0200
commit296b67059e3026125a1ca942f5506e6ca051749e (patch)
treecc2fc7d660038b44340d591ddb0a5c2ef380ef2c /include/linux/fs_parser.h
parent8564124c36d6bf97199125dd542710c2814b4017 (diff)
fs/fs_parse: Delete macro fsparam_u32hex()
Delete macro fsparam_u32hex() since: - it has no caller. - it uses as type @fs_param_is_u32_hex which is never defined, so will cause compile error when caller uses it. Signed-off-by: Zijun Hu <quic_zijuhu@quicinc.com> Link: https://lore.kernel.org/20250411-fix_fs-v2-1-5d3395c102e4@quicinc.com Reviewed-by: Jan Kara <jack@suse.cz> Signed-off-by: Christian Brauner <brauner@kernel.org>
Diffstat (limited to 'include/linux/fs_parser.h')
-rw-r--r--include/linux/fs_parser.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/include/linux/fs_parser.h b/include/linux/fs_parser.h
index 53e566efd5fd..5057faf4f091 100644
--- a/include/linux/fs_parser.h
+++ b/include/linux/fs_parser.h
@@ -125,8 +125,6 @@ static inline bool fs_validate_description(const char *name,
#define fsparam_u32(NAME, OPT) __fsparam(fs_param_is_u32, NAME, OPT, 0, NULL)
#define fsparam_u32oct(NAME, OPT) \
__fsparam(fs_param_is_u32, NAME, OPT, 0, (void *)8)
-#define fsparam_u32hex(NAME, OPT) \
- __fsparam(fs_param_is_u32_hex, NAME, OPT, 0, (void *)16)
#define fsparam_s32(NAME, OPT) __fsparam(fs_param_is_s32, NAME, OPT, 0, NULL)
#define fsparam_u64(NAME, OPT) __fsparam(fs_param_is_u64, NAME, OPT, 0, NULL)
#define fsparam_enum(NAME, OPT, array) __fsparam(fs_param_is_enum, NAME, OPT, 0, array)