]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
smb: client: Omit one redundant variable assignment in cifs_xattr_set()
authorMarkus Elfring <elfring@users.sourceforge.net>
Fri, 10 Oct 2025 12:48:13 +0000 (14:48 +0200)
committerSteve French <stfrench@microsoft.com>
Mon, 13 Oct 2025 13:26:22 +0000 (08:26 -0500)
commit911063b590ce77d473e92716f05f34712f97ef95
tree7e0ed818c63368dcfc8b6f24b795a73512e3f275
parentb9ce79887e270ed64ed499aa69f903cdca401c2f
smb: client: Omit one redundant variable assignment in cifs_xattr_set()

The local variable “rc” is assigned a value in an if branch without
using it before it is reassigned there.
Thus delete this assignment statement.

Signed-off-by: Markus Elfring <elfring@users.sourceforge.net>
Signed-off-by: Steve French <stfrench@microsoft.com>
fs/smb/client/xattr.c