diff mbox series

ksmbd: Remove unused field in ksmbd_user struct

Message ID 20231002053203.17711-1-hank20010209@gmail.com (mailing list archive)
State New, archived
Headers show
Series ksmbd: Remove unused field in ksmbd_user struct | expand

Commit Message

Cheng-Han Wu Oct. 2, 2023, 5:32 a.m. UTC
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>
---
 fs/smb/server/mgmt/user_config.h | 1 -
 1 file changed, 1 deletion(-)

Comments

Namjae Jeon Oct. 6, 2023, 1:08 a.m. UTC | #1
2023-10-02 14:32 GMT+09:00, Cheng-Han Wu <hank20010209@gmail.com>:
> 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>

Applied it to #ksmbd-for-next-next.

Thanks for your patch!
diff mbox series

Patch

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)