]> Gentwo Git Trees - linux/.git/commit
smb: client: Return a status code only as a constant in cifs_spnego_key_instantiate()
authorMarkus Elfring <elfring@users.sourceforge.net>
Tue, 7 Oct 2025 14:32:25 +0000 (16:32 +0200)
committerSteve French <stfrench@microsoft.com>
Tue, 7 Oct 2025 16:12:19 +0000 (11:12 -0500)
commit0a98b40b8fe1bdebf3cb78924cef60af322c4437
tree74b4e15cabe6a77b98609d696b7474426616d954
parent61da08ecb55264fa1e2c7b8c8a630bed716edbdb
smb: client: Return a status code only as a constant in cifs_spnego_key_instantiate()

* Return a status code without storing it in an intermediate variable.

* Delete the local variable “ret” and the label “error”
  which became unnecessary with this refactoring.

Signed-off-by: Markus Elfring <elfring@users.sourceforge.net>
Acked-by: Enzo Matsumiya <ematsumiya@suse.de>
Signed-off-by: Steve French <stfrench@microsoft.com>
fs/smb/client/cifs_spnego.c