]> git.decadent.org.uk Git - nfs-utils.git/blobdiff - utils/statd/callback.c
rpc.statd: Clean up: replace "if (!(foo = rtnl))".
[nfs-utils.git] / utils / statd / callback.c
index d5d036e9fc28357b3ef703f3da3005f7cee0ad06..505fdb3c742112d09ea25230ee5588c4ff6e9915 100644 (file)
@@ -36,11 +36,9 @@ sm_notify_1_svc(struct stat_chge *argp, struct svc_req *rqstp)
                                argp->mon_name, argp->state);
 
        /* quick check - don't bother if we're not monitoring anyone */
-       /* LH - this was != MULL, meaning that if anyone _was_ in our RTNL,
-        * we'd never pass this point. */
-       if (!(lp = rtnl)) {
+       if (rtnl == NULL) {
                note(N_WARNING, "SM_NOTIFY from %s while not monitoring any hosts.",
-                               argp->mon_name, argp->state);
+                               argp->mon_name);
                return ((void *) &result);
        }