ksmbd: Remove unused field in ksmbd_user struct
authorCheng-Han Wu <hank20010209@gmail.com>
Sun, 31 Dec 2023 07:19:01 +0000 (16:19 +0900)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 5 Jan 2024 14:19:37 +0000 (15:19 +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: Sasha Levin <sashal@kernel.org>
fs/smb/server/mgmt/user_config.h

index 6a44109..e068a19 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)