[PATCH] ksmbd: Remove unused field in ksmbd_user struct

From: Cheng-Han Wu
Date: Mon Oct 02 2023 - 01:32:33 EST


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@xxxxxxxxx>
---
fs/smb/server/mgmt/user_config.h | 1 -
1 file changed, 1 deletion(-)

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)
--
2.34.1