diff options
author | Sami Liedes <sliedes@nvidia.com> | 2013-02-05 15:22:03 +0200 |
---|---|---|
committer | Dan Willemsen <dwillemsen@nvidia.com> | 2013-09-14 12:57:02 -0700 |
commit | c8692dc2f51e3677c5aae42a1364657ce0ac1fcd (patch) | |
tree | bebcc8f4d2a2a7ab393cb092bcd38d3ec45ab7a0 /drivers/cpuquiet | |
parent | 0bde4f8977d911d9cae47c5b845a320785764229 (diff) |
cpuquiet: Fix warning about unused variable
drivers/cpuquiet/governors/runnable_threads.c: In function 'runnables_work_func':
drivers/cpuquiet/governors/runnable_threads.c:184:14: warning: unused variable 'state' [-Wunused-variable]
Change-Id: I26c2288876043cf3dd21e1b57317a1f5b2de5a9b
Signed-off-by: Sami Liedes <sliedes@nvidia.com>
Reviewed-on: http://git-master/r/197469
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Juha Tukkinen <jtukkinen@nvidia.com>
Diffstat (limited to 'drivers/cpuquiet')
-rw-r--r-- | drivers/cpuquiet/governors/runnable_threads.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/cpuquiet/governors/runnable_threads.c b/drivers/cpuquiet/governors/runnable_threads.c index 6eba7a61a012..22cab876d508 100644 --- a/drivers/cpuquiet/governors/runnable_threads.c +++ b/drivers/cpuquiet/governors/runnable_threads.c @@ -1,5 +1,5 @@ /* - * Copyright (c) 2012 NVIDIA CORPORATION. All rights reserved. + * Copyright (c) 2012-2013 NVIDIA CORPORATION. All rights reserved. * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -181,7 +181,7 @@ static unsigned int get_lightest_loaded_cpu_n(void) static void runnables_work_func(struct work_struct *work) { unsigned int cpu = nr_cpu_ids; - int action, state; + int action; mutex_lock(&runnables_lock); if (runnables_state != RUNNING) { |