summaryrefslogtreecommitdiff
path: root/fs
diff options
context:
space:
mode:
authorCheng-Han Wu <hank20010209@gmail.com>2023-12-31 10:19:01 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2024-01-05 17:19:37 +0300
commit3ba08c420d05bbefcb9421a740be6788ee33f7df (patch)
tree3a6845deaab50b09ba8966f19d7cf82a394f31a8 /fs
parent5e9df83a705290c4d974693097df1da9cbe25854 (diff)
downloadlinux-3ba08c420d05bbefcb9421a740be6788ee33f7df.tar.xz
ksmbd: Remove unused field in ksmbd_user struct
[ 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>
Diffstat (limited to 'fs')
-rw-r--r--fs/smb/server/mgmt/user_config.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/fs/smb/server/mgmt/user_config.h b/fs/smb/server/mgmt/user_config.h
index 6a44109617f1..e068a19fd904 100644
--- a/fs/smb/server/mgmt/user_config.h
+++ b/fs/smb/server/mgmt/user_config.h
@@ -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)