mirror of
git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-09-04 20:19:47 +08:00
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>
This commit is contained in:
parent
8564124c36
commit
296b67059e
@ -671,7 +671,6 @@ The members are as follows:
|
|||||||
fsparam_bool() fs_param_is_bool
|
fsparam_bool() fs_param_is_bool
|
||||||
fsparam_u32() fs_param_is_u32
|
fsparam_u32() fs_param_is_u32
|
||||||
fsparam_u32oct() fs_param_is_u32_octal
|
fsparam_u32oct() fs_param_is_u32_octal
|
||||||
fsparam_u32hex() fs_param_is_u32_hex
|
|
||||||
fsparam_s32() fs_param_is_s32
|
fsparam_s32() fs_param_is_s32
|
||||||
fsparam_u64() fs_param_is_u64
|
fsparam_u64() fs_param_is_u64
|
||||||
fsparam_enum() fs_param_is_enum
|
fsparam_enum() fs_param_is_enum
|
||||||
|
@ -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_u32(NAME, OPT) __fsparam(fs_param_is_u32, NAME, OPT, 0, NULL)
|
||||||
#define fsparam_u32oct(NAME, OPT) \
|
#define fsparam_u32oct(NAME, OPT) \
|
||||||
__fsparam(fs_param_is_u32, NAME, OPT, 0, (void *)8)
|
__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_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_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)
|
#define fsparam_enum(NAME, OPT, array) __fsparam(fs_param_is_enum, NAME, OPT, 0, array)
|
||||||
|
Loading…
Reference in New Issue
Block a user