ksmbd: remove unused is_char_allowed function
authorTom Rix <trix@redhat.com>
Fri, 24 Mar 2023 17:30:56 +0000 (13:30 -0400)
committerSteve French <stfrench@microsoft.com>
Sat, 25 Mar 2023 19:54:06 +0000 (14:54 -0500)
commit2824861773eb512b37547516d81ef78108032cb2
tree866ef57d26ccd5ea5659611de043da904e7bd886
parente416ea62a9166e6075a07a970cc5bf79255d2700
ksmbd: remove unused is_char_allowed function

clang with W=1 reports
fs/ksmbd/unicode.c:122:19: error: unused function
  'is_char_allowed' [-Werror,-Wunused-function]
static inline int is_char_allowed(char *ch)
                  ^
This function is not used so remove it.

Signed-off-by: Tom Rix <trix@redhat.com>
Reviewed-by: Sergey Senozhatsky <senozhatsky@chromium.org>
Acked-by: Namjae Jeon <linkinjeon@kernel.org>
Signed-off-by: Steve French <stfrench@microsoft.com>
fs/ksmbd/unicode.c