diff options
| author | Steve French <[email protected]> | 2021-06-22 19:07:36 +0000 |
|---|---|---|
| committer | Steve French <[email protected]> | 2021-06-23 18:06:35 +0000 |
| commit | 4c4a525ae590623eb3ba667151194a024e643ffd (patch) | |
| tree | 7f86704ac6b70b13cf842330a702b7fa005a57a4 /net/switchdev/switchdev.c | |
| parent | SMB3: Add new info level for query directory (diff) | |
| download | kernel-4c4a525ae590623eb3ba667151194a024e643ffd.tar.gz kernel-4c4a525ae590623eb3ba667151194a024e643ffd.zip | |
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 <[email protected]>
Diffstat (limited to 'net/switchdev/switchdev.c')
0 files changed, 0 insertions, 0 deletions
