Skip to content
Commit 2182d96e authored by David Disseldorp's avatar David Disseldorp Committed by Greg Kroah-Hartman
Browse files

ksmbd: set NegotiateContextCount once instead of every inc

[ Upstream commit 34e8ccf9

 ]

There are no early returns, so marshalling the incremented
NegotiateContextCount with every context is unnecessary.

Signed-off-by: default avatarDavid Disseldorp <ddiss@suse.de>
Acked-by: default avatarNamjae Jeon <linkinjeon@kernel.org>
Signed-off-by: default avatarSteve French <stfrench@microsoft.com>
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
parent 8d271ef5
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment