notifyd: Remove notifyd_handler_done
authorVolker Lendecke <vl@samba.org>
Sat, 24 Jun 2017 06:57:18 +0000 (08:57 +0200)
committerJeremy Allison <jra@samba.org>
Thu, 6 Jul 2017 22:52:24 +0000 (00:52 +0200)
Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
source3/smbd/notifyd/notifyd.c

index bc694850e28cf45f919d60a93f0cb1e0b7976b90..caf894e956e8f8b3954497645712c2b8c4533e64 100644 (file)
@@ -176,8 +176,6 @@ static int sys_notify_watch_dummy(
        return 0;
 }
 
-static void notifyd_handler_done(struct tevent_req *subreq);
-
 #ifdef CLUSTER_SUPPORT
 static void notifyd_broadcast_reclog_finished(struct tevent_req *subreq);
 static void notifyd_clean_peers_finished(struct tevent_req *subreq);
@@ -312,17 +310,6 @@ deregister_rec_change:
        return tevent_req_post(req, ev);
 }
 
-static void notifyd_handler_done(struct tevent_req *subreq)
-{
-       struct tevent_req *req = tevent_req_callback_data(
-               subreq, struct tevent_req);
-       int ret;
-
-       ret = messaging_handler_recv(subreq);
-       TALLOC_FREE(subreq);
-       tevent_req_error(req, ret);
-}
-
 #ifdef CLUSTER_SUPPORT
 
 static void notifyd_broadcast_reclog_finished(struct tevent_req *subreq)