mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-09 12:17:12 +09:00
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>
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user