summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorSrivatsa Vaddagiri <vatsa@codeaurora.org>2014-08-08 18:05:06 +0530
committerDavid Keitel <dkeitel@codeaurora.org>2016-03-23 20:00:22 -0700
commit9425ce430926fd213d5f65a46d724db54b7b1c0f (patch)
tree7e72c27d2dd34629bacfe98c660e3c609fe9afb4 /include/linux
parent6ed9cab72392f77fab1a533153e9aa9bb857ed7a (diff)
sched: window-stats: Remove unused prev_window variable
Remove unused prev_window variable in 'struct ravg' Change-Id: I22ec040bae6fa5810f9f8771aa1cb873a2183746 Signed-off-by: Srivatsa Vaddagiri <vatsa@codeaurora.org>
Diffstat (limited to 'include/linux')
-rw-r--r--include/linux/sched.h7
1 files changed, 1 insertions, 6 deletions
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];
};