]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
ksmbd: remove unused is_char_allowed function
authorTom Rix <trix@redhat.com>
Mon, 18 Dec 2023 15:33:39 +0000 (00:33 +0900)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 23 Dec 2023 09:41:54 +0000 (10:41 +0100)
commit427caadf90e93c60c9b01aadf9fa3e16308f300e
tree2d755fe9bf77a1e4b4d80a174ce0301a765e1258
parent289b46fd11dd63ca147aa7f4f9267b25306fb01c
ksmbd: remove unused is_char_allowed function

[ Upstream commit 2824861773eb512b37547516d81ef78108032cb2 ]

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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
fs/ksmbd/unicode.c