cpuquiet: Remove compiler warning on unused variable
Philip Rakity [Sat, 6 Jul 2013 11:04:41 +0000 (12:04 +0100)]
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>

drivers/cpuquiet/governors/runnable_threads.c

index cdac85e..79ba69d 100644 (file)
@@ -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;