mirror of
https://github.com/torvalds/linux.git
synced 2026-05-31 02:24:24 +02:00
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>
This commit is contained in:
parent
b9ce79887e
commit
911063b590
|
|
@ -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:
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user