From 9425ce430926fd213d5f65a46d724db54b7b1c0f Mon Sep 17 00:00:00 2001 From: Srivatsa Vaddagiri Date: Fri, 8 Aug 2014 18:05:06 +0530 Subject: sched: window-stats: Remove unused prev_window variable Remove unused prev_window variable in 'struct ravg' Change-Id: I22ec040bae6fa5810f9f8771aa1cb873a2183746 Signed-off-by: Srivatsa Vaddagiri --- include/linux/sched.h | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) (limited to 'include/linux') diff --git a/include/linux/sched.h b/include/linux/sched.h index f582c99d624f..62bf15ff160d 100644 --- a/include/linux/sched.h +++ b/include/linux/sched.h @@ -1273,16 +1273,11 @@ struct ravg { * sysctl_sched_ravg_hist_size windows. 'demand' could drive frequency * demand for tasks. * - * 'prev_window' is the history in the most recent window. This value - * may be zero if there was no task activity in that window - that is - * how this quantity differs from the most recent sample in - * sum_history (empty windows are ignored in sum_history). - * * 'flags' can have either or both of PREV_WINDOW_CONTRIB and * CURR_WINDOW_CONTRIB set. */ u64 mark_start; - u32 sum, demand, prev_window, partial_demand, flags; + u32 sum, demand, partial_demand, flags; u32 sum_history[RAVG_HIST_SIZE_MAX]; }; -- cgit v1.2.3