]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
ksmbd: Remove duplicated codes
authorDawei Li <set_pte_at@outlook.com>
Mon, 18 Dec 2023 15:33:33 +0000 (00:33 +0900)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 23 Dec 2023 09:41:54 +0000 (10:41 +0100)
commita35ebf65899344cf1d4cbc8c8c773b4185bf8388
treea63191c24c7f1c1bf78f16038d1bb133a20fdaf6
parentb15734ec29b6cbd8c422222fbf41ac0404304037
ksmbd: Remove duplicated codes

[ Upstream commit 7010357004096e54c884813e702d71147dc081f8 ]

ksmbd_neg_token_init_mech_token() and ksmbd_neg_token_targ_resp_token()
share same implementation, unify them.

Signed-off-by: Dawei Li <set_pte_at@outlook.com>
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/asn1.c