diff options
author | Jeff Layton <jlayton@primarydata.com> | 2014-07-16 06:52:21 -0400 |
---|---|---|
committer | Trond Myklebust <trond.myklebust@primarydata.com> | 2014-08-03 17:05:24 -0400 |
commit | b36e9c44af00285ea33e78ce8ac91da3d8ac74da (patch) | |
tree | 0196471ad7aef9b39225c727c1d6b33e1dde37f0 /net/core/sysctl_net_core.c | |
parent | 6ac0fbbfc141f758e2f331d1fee95bc105f87914 (diff) | |
download | linux-b36e9c44af00285ea33e78ce8ac91da3d8ac74da.tar.bz2 |
sunrpc: clean up sparse endianness warnings in gss_krb5_wrap.c
Fix the endianness handling in gss_wrap_kerberos_v1 and drop the memset
call there in favor of setting the filler bytes directly.
In gss_wrap_kerberos_v2, get rid of the "ec" variable which is always
zero, and drop the endianness conversion of 0. Sparse handles 0 as a
special case, so it's not necessary.
Signed-off-by: Jeff Layton <jlayton@primarydata.com>
Signed-off-by: Trond Myklebust <trond.myklebust@primarydata.com>
Diffstat (limited to 'net/core/sysctl_net_core.c')
0 files changed, 0 insertions, 0 deletions