Fix: remove unused code in session daemon
[lttng-tools.git] / src / bin / lttng-sessiond / modprobe.c
index a010e7cd76ab92b66d12ecef024efc5e98f07a98..92563b0faad2b4cd1714c5cc4f5a2f3f3974ac99 100644 (file)
@@ -232,24 +232,3 @@ int modprobe_lttng_data(void)
 error:
        return ret;
 }
-
-/*
- * Load all lttng kernel modules.
- */
-int modprobe_lttng_all(void)
-{
-       int ret;
-
-       ret = modprobe_lttng_control();
-       if (ret < 0) {
-               goto error;
-       }
-
-       ret = modprobe_lttng_data();
-       if (ret < 0) {
-               goto error;
-       }
-
-error:
-       return ret;
-}
This page took 0.022691 seconds and 4 git commands to generate.