Skip to content

Commit

Permalink
net/sunrpc/auth_gss/gss_krb5_crypto.c: Use normal negative error valu…
Browse files Browse the repository at this point in the history
…e return

And remove unnecessary double semicolon too.

No effect to code, as test is != 0.

Signed-off-by: Joe Perches <joe@perches.com>
Signed-off-by: J. Bruce Fields <bfields@redhat.com>
  • Loading branch information
Joe Perches authored and J. Bruce Fields committed Dec 17, 2010
1 parent 66c941f commit f3c0cee
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion net/sunrpc/auth_gss/gss_krb5_crypto.c
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ arcfour_hmac_md5_usage_to_salt(unsigned int usage, u8 salt[4])
ms_usage = 13;
break;
default:
return EINVAL;;
return -EINVAL;
}
salt[0] = (ms_usage >> 0) & 0xff;
salt[1] = (ms_usage >> 8) & 0xff;
Expand Down

0 comments on commit f3c0cee

Please sign in to comment.