From 5ffe832faf2e50b3380ed4dbe6e5b091b4008ef7 Mon Sep 17 00:00:00 2001 From: Marc Di Luzio Date: Sat, 11 May 2019 13:24:13 +0100 Subject: [PATCH] Don't store the initial values 1. We don't use them anyway (though that could be a feature request) 2. They weren't stored per-client, so would be incorrect anyway --- daemon/gamemode.c | 5 ----- 1 file changed, 5 deletions(-) diff --git a/daemon/gamemode.c b/daemon/gamemode.c index db947cb..6b977f8 100644 --- a/daemon/gamemode.c +++ b/daemon/gamemode.c @@ -71,9 +71,6 @@ struct GameModeContext { struct GameModeGPUInfo *stored_gpu; /**initial_renice = game_mode_get_renice(client); game_mode_apply_renice(self, client, 0 /* expect zero value to start with */); /* Store current ioprio value and apply */ - self->initial_ioprio = game_mode_get_ioprio(client); game_mode_apply_ioprio(self, client, IOPRIO_DEFAULT); /* Apply scheduler policies */