Fix: do not warn on unknown counter ioctl
[lttng-modules.git] / src / lttng-abi.c
index fa7eca6ff69109f5de3b6f93abe4b98ef299a68c..c3e676902d787fe88c84d0ef034930f169cd4372 100644 (file)
@@ -730,7 +730,6 @@ long lttng_counter_ioctl(struct file *file, unsigned int cmd, unsigned long arg)
                return lttng_kernel_counter_clear(counter, indexes);
        }
        default:
-               WARN_ON_ONCE(1);
                return -ENOSYS;
        }
 }
This page took 0.02356 seconds and 4 git commands to generate.