ubifs: Code cleanup by removing ifdef macro surrounding

Define ubifs_listxattr and ubifs_xattr_handlers to NULL
when CONFIG_UBIFS_FS_XATTR is not enabled, then we can
remove many ugly ifdef macros in the code.

Signed-off-by: Chengguang Xu <cgxu519@mykernel.net>
Signed-off-by: Richard Weinberger <richard@nod.at>
This commit is contained in:
Chengguang Xu 2020-05-26 17:07:12 +08:00 • committed by Richard Weinberger
commit 2976c19c95
4 changed files with 4 additions and 10 deletions