profiling: Remove some #ifdefs
[obnox/samba/samba-obnox.git] / source3 / smbd / server.c
index 658f26870e6f97089f84312c5a783acb10718b42..8b9a1c1a96ff5875463ec5bd62546f4f5b2e8f1e 100644 (file)
@@ -1304,7 +1304,6 @@ extern void build_options(bool screen);
 
        init_structs();
 
-#ifdef WITH_PROFILE
        if (!profile_setup(msg_ctx, False)) {
                DEBUG(0,("ERROR: failed to setup profiling\n"));
                return -1;
@@ -1317,7 +1316,6 @@ extern void build_options(bool screen);
                src.pid = getpid();
                set_profile_level(pl, src);
        }
-#endif
 
        if (!is_daemon && !is_a_socket(0)) {
                if (!interactive) {