Lazily initialize max poll set size
[lttng-tools.git] / src / bin / lttng-consumerd / lttng-consumerd.c
index 87ffb05dd5c78af8a70472900f985f5fd9dd3f1f..1cc1eb9ae567c5a957bbf4d0704a2805337050f8 100644 (file)
@@ -101,7 +101,7 @@ static void sighandler(int sig)
 
        /*
         * Ignore SIGPIPE because it should not stop the consumer whenever a
-        * SIGPIPE is catched through a FD operation.
+        * SIGPIPE is caught through a FD operation.
         */
        if (sig == SIGPIPE) {
                return;
@@ -362,12 +362,6 @@ int main(int argc, char **argv)
                goto exit_health_consumerd_cleanup;
        }
 
-       /* Set up max poll set size */
-       if (lttng_poll_set_max_size()) {
-               retval = -1;
-               goto exit_init_data;
-       }
-
        if (*command_sock_path == '\0') {
                switch (opt_type) {
                case LTTNG_CONSUMER_KERNEL:
This page took 0.025882 seconds and 4 git commands to generate.