summaryrefslogtreecommitdiff
path: root/drivers/cpuquiet
diff options
context:
space:
mode:
authorPhilip Rakity <prakity@nvidia.com>2013-07-06 12:04:41 +0100
committerHarshada Kale <hkale@nvidia.com>2013-07-16 06:09:51 -0700
commite72ce9f3ccbfae05355e0467bd49c9d5cbae9ab5 (patch)
treefcce80623fb49c94ee7c8c07bf47513fcf95a572 /drivers/cpuquiet
parent959f3131e52e6e7657e1d148da5878c9d9474839 (diff)
cpuquiet: Remove compiler warning on unused variable
Change-Id: I41ddc91b81cf07ed71964d232da3c7e71e4dfdce Signed-off-by: Philip Rakity <prakity@nvidia.com> Reviewed-on: http://git-master/r/245838 Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Scott Peterson <speterson@nvidia.com>
Diffstat (limited to 'drivers/cpuquiet')
-rw-r--r--drivers/cpuquiet/governors/runnable_threads.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/cpuquiet/governors/runnable_threads.c b/drivers/cpuquiet/governors/runnable_threads.c
index cdac85ed8d3c..79ba69d8057a 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;
if (runnables_state != RUNNING)
return;