Clean-up: remove dead code in sessiond's set_option()
[lttng-tools.git] / src / bin / lttng-sessiond / main.c
index 83eb01673336fb8af82333677fcdd22998276314..25023ada36fa7e0735ca8cbde6bc7606d3bca6c7 100644 (file)
@@ -4924,10 +4924,6 @@ static int set_option(int opt, const char *arg, const char *optname)
                } else {
                        unsigned long v;
 
-                       if (!arg) {
-                               ret = -EINVAL;
-                               goto end;
-                       }
                        errno = 0;
                        v = strtoul(arg, NULL, 0);
                        if (errno != 0 || !isdigit(arg[0])) {
This page took 0.024664 seconds and 5 git commands to generate.