smbd: There's only one notify_callback
[amitay/samba.git] / source3 / smbd / notify.c
index c824ced536823231385c2908fd089693cdda6f15..f493f11aa69a558389689b2fe3fc271b297adf32 100644 (file)
@@ -280,8 +280,7 @@ NTSTATUS change_notify_create(struct files_struct *fsp, uint32_t filter,
 
        if ((filter != 0) || (subdir_filter != 0)) {
                status = notify_add(fsp->conn->sconn->notify_ctx,
-                                   fullpath, filter, subdir_filter,
-                                   notify_callback, fsp);
+                                   fullpath, filter, subdir_filter, fsp);
        }
 
        return status;