[PATCH 6.1 012/100] ksmbd: remove unused is_char_allowed function