mirror of
https://github.com/torvalds/linux
synced 2024-11-05 18:23:50 +00:00
rpc: remove redundant initialization of variable status
The variable status is being initialized with a value that is never read, the assignment is redundant and can be removed. Addresses-Coverity: ("Unused value") Signed-off-by: Colin Ian King <colin.king@canonical.com> Signed-off-by: J. Bruce Fields <bfields@redhat.com>
This commit is contained in:
parent
5823e40055
commit
f6260b98ec
1 changed files with 1 additions and 1 deletions
|
@ -1275,7 +1275,7 @@ static int gss_proxy_save_rsc(struct cache_detail *cd,
|
|||
long long ctxh;
|
||||
struct gss_api_mech *gm = NULL;
|
||||
time64_t expiry;
|
||||
int status = -EINVAL;
|
||||
int status;
|
||||
|
||||
memset(&rsci, 0, sizeof(rsci));
|
||||
/* context handle */
|
||||
|
|
Loading…
Reference in a new issue