diff options
| author | Bryan Schumaker <[email protected]> | 2011-04-27 19:47:16 +0000 |
|---|---|---|
| committer | J. Bruce Fields <[email protected]> | 2011-04-30 00:47:59 +0000 |
| commit | 6ce2357f1e73e0da8ebeace6ec829f48a646bb8c (patch) | |
| tree | 270bbbadd4fb2e1ae3e421a342a14f17ecd4372a /net/lapb/lapb_iface.c | |
| parent | NFSD: Check status from nfsd4_map_bcts_dir() (diff) | |
| download | kernel-6ce2357f1e73e0da8ebeace6ec829f48a646bb8c.tar.gz kernel-6ce2357f1e73e0da8ebeace6ec829f48a646bb8c.zip | |
NFSD: Remove unused variable from nfsd4_decode_bind_conn_to_session()
Compiling gave me this warning:
fs/nfsd/nfs4xdr.c: In function ‘nfsd4_decode_bind_conn_to_session’:
fs/nfsd/nfs4xdr.c:427:6: warning: variable ‘dummy’ set but not used
[-Wunused-but-set-variable]
The local variable "dummy" wasn't being used past the READ32() macro that
set it. READ_BUF() should ensure that the xdr buffer is pushed past the
data read into dummy already, so nothing needs to be read in.
Signed-off-by: Bryan Schumaker <[email protected]>
[[email protected]: minor comment fixup.]
Signed-off-by: J. Bruce Fields <[email protected]>
Diffstat (limited to 'net/lapb/lapb_iface.c')
0 files changed, 0 insertions, 0 deletions
