cifs: remove two cases where rc is set unnecessarily in sid_to_id
authorSteve French <stfrench@microsoft.com>
Tue, 22 Jun 2021 19:07:36 +0000 (14:07 -0500)
committerSteve French <stfrench@microsoft.com>
Wed, 23 Jun 2021 18:06:35 +0000 (13:06 -0500)
commit4c4a525ae590623eb3ba667151194a024e643ffd
tree7f86704ac6b70b13cf842330a702b7fa005a57a4
parent2438c0bd598b5547333e0e3c1581da078569f130
cifs: remove two cases where rc is set unnecessarily in sid_to_id

In both these cases sid_to_id unconditionally returned success, and
used the default uid/gid for the mount, so setting rc is confusing
and simply gets overwritten (set to 0) later in the function.

Addresses-Coverity: 1491672 ("Unused value")
Signed-off-by: Steve French <stfrench@microsoft.com>
fs/cifs/cifsacl.c