]> git.ipfire.org Git - thirdparty/kernel/stable.git/commitdiff
ksmbd: Remove unused field in ksmbd_user struct
authorCheng-Han Wu <hank20010209@gmail.com>
Mon, 18 Dec 2023 15:34:39 +0000 (00:34 +0900)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 23 Dec 2023 09:41:59 +0000 (10:41 +0100)
[ Upstream commit eacc655e18d1dec9b50660d16a1ddeeb4d6c48f2 ]

fs/smb/server/mgmt/user_config.h:21: Remove the unused field 'failed_login_count' from the ksmbd_user struct.

Signed-off-by: Cheng-Han Wu <hank20010209@gmail.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/mgmt/user_config.h

index 6a44109617f149fc3b70e21ae9a85088c4da0ecd..e068a19fd90493001fb5fd28a0a88cfd8a35e3d6 100644 (file)
@@ -18,7 +18,6 @@ struct ksmbd_user {
 
        size_t                  passkey_sz;
        char                    *passkey;
-       unsigned int            failed_login_count;
 };
 
 static inline bool user_guest(struct ksmbd_user *user)