diff options
| author | Markus Elfring <elfring@users.sourceforge.net> | 2025-10-10 14:48:13 +0200 |
|---|---|---|
| committer | Steve French <stfrench@microsoft.com> | 2025-10-13 08:26:22 -0500 |
| commit | 911063b590ce77d473e92716f05f34712f97ef95 (patch) | |
| tree | 7e0ed818c63368dcfc8b6f24b795a73512e3f275 | |
| parent | b9ce79887e270ed64ed499aa69f903cdca401c2f (diff) | |
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>
| -rw-r--r-- | fs/smb/client/xattr.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/fs/smb/client/xattr.c b/fs/smb/client/xattr.c index b88fa04f5792..029910d56c22 100644 --- a/fs/smb/client/xattr.c +++ b/fs/smb/client/xattr.c @@ -178,7 +178,6 @@ static int cifs_xattr_set(const struct xattr_handler *handler, memcpy(pacl, value, size); if (pTcon->ses->server->ops->set_acl) { int aclflags = 0; - rc = 0; switch (handler->flags) { case XATTR_CIFS_NTSD_FULL: |
