Skip to content
Commit 4c4a525a authored by Steve French's avatar Steve French
Browse files

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: default avatarSteve French <stfrench@microsoft.com>
parent 2438c0bd
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment