aboutsummaryrefslogtreecommitdiffstats
path: root/net/sunrpc/auth_gss
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2008-03-17 22:48:03 -0700
committerDavid S. Miller <davem@davemloft.net>2008-03-17 22:48:03 -0700
commit27724426a9000086993a8107a11cff276c4bd4d4 (patch)
treebb875f3df5b0b64e3bde48093674d857b2874901 /net/sunrpc/auth_gss
parentbc92dd194d05e8334b210552fbc0ac5711d72ea9 (diff)
downloadkernel_samsung_tuna-27724426a9000086993a8107a11cff276c4bd4d4.zip
kernel_samsung_tuna-27724426a9000086993a8107a11cff276c4bd4d4.tar.gz
kernel_samsung_tuna-27724426a9000086993a8107a11cff276c4bd4d4.tar.bz2
[SUNRPC]: net/* NULL noise
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/sunrpc/auth_gss')
-rw-r--r--net/sunrpc/auth_gss/gss_mech_switch.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/sunrpc/auth_gss/gss_mech_switch.c b/net/sunrpc/auth_gss/gss_mech_switch.c
index 61801a0..bce9d52 100644
--- a/net/sunrpc/auth_gss/gss_mech_switch.c
+++ b/net/sunrpc/auth_gss/gss_mech_switch.c
@@ -317,7 +317,7 @@ gss_delete_sec_context(struct gss_ctx **context_handle)
if (!*context_handle)
return(GSS_S_NO_CONTEXT);
- if ((*context_handle)->internal_ctx_id != 0)
+ if ((*context_handle)->internal_ctx_id)
(*context_handle)->mech_type->gm_ops
->gss_delete_sec_context((*context_handle)
->internal_ctx_id);