diff options
author | Bastien Nocera <hadess@hadess.net> | 2013-10-10 15:20:18 +0200 |
---|---|---|
committer | Bastien Nocera <hadess@hadess.net> | 2013-10-14 10:42:55 +0200 |
commit | d10cc97cbb826099530180450052f90b86cdcac8 (patch) | |
tree | 62b17c7c5c73eab6b46ca93a5f05907d695fb16b /src/up-main.c | |
parent | c842f1a53ec5f1903bd911e0eee2383b0fc5503a (diff) | |
download | upower-d10cc97cbb826099530180450052f90b86cdcac8.tar.gz |
Remove QoS interface
It was added for some workloads, but ill-suited and never really
got traction. Using cgroups to manage the resources of particular
services (using systemd), or something separate like rtkit is
a better bet.
Diffstat (limited to 'src/up-main.c')
-rw-r--r-- | src/up-main.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/src/up-main.c b/src/up-main.c index f1d81a2..ff9fbaf 100644 --- a/src/up-main.c +++ b/src/up-main.c @@ -38,7 +38,6 @@ #include <dbus/dbus-glib-lowlevel.h> #include "up-daemon.h" -#include "up-qos.h" #include "up-kbd-backlight.h" #include "up-wakeups.h" @@ -180,7 +179,6 @@ main (gint argc, gchar **argv) { GError *error = NULL; UpDaemon *daemon = NULL; - UpQos *qos = NULL; UpKbdBacklight *kbd_backlight = NULL; UpWakeups *wakeups = NULL; GOptionContext *context; @@ -284,7 +282,6 @@ main (gint argc, gchar **argv) g_debug ("Starting upowerd version %s", PACKAGE_VERSION); - qos = up_qos_new (); kbd_backlight = up_kbd_backlight_new (); wakeups = up_wakeups_new (); daemon = up_daemon_new (); @@ -311,8 +308,6 @@ main (gint argc, gchar **argv) g_main_loop_run (loop); retval = 0; out: - if (qos != NULL) - g_object_unref (qos); if (kbd_backlight != NULL) g_object_unref (kbd_backlight); if (wakeups != NULL) |