Remove last instance of global_loadparm.
[ira/wip.git] / source4 / ntvfs / sysdep / inotify.c
index 68653d60bd9393b16ac9685dec47dbd2151d4956..c47a1216c881301fbfa57e0c1761f42f107906e5 100644 (file)
@@ -339,10 +339,6 @@ static NTSTATUS inotify_watch(struct sys_notify_context *ctx,
        /* maybe setup the inotify fd */
        if (ctx->private_data == NULL) {
                NTSTATUS status;
-               if (!lp_parm_bool(global_loadparm, NULL, "notify", "inotify", true)) {
-                       return NT_STATUS_INVALID_SYSTEM_SERVICE;
-               }
-
                status = inotify_setup(ctx);
                NT_STATUS_NOT_OK_RETURN(status);
        }