[SUNRPC]: net/* NULL noise
authorAl Viro <viro@zeniv.linux.org.uk>
Tue, 18 Mar 2008 05:48:03 +0000 (22:48 -0700)
committerDavid S. Miller <davem@davemloft.net>
Tue, 18 Mar 2008 05:48:03 +0000 (22:48 -0700)
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/sunrpc/auth_gss/gss_mech_switch.c

index 61801a069ff02c69d91313ea75df3d542ffff0e2..bce9d527af08187c5ff5c590acc43464483fe90a 100644 (file)
@@ -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);