aboutsummaryrefslogtreecommitdiff
path: root/kernel/cpu_pm.c
diff options
context:
space:
mode:
authorColin Ian King2018-01-18 11:22:11 -0800
committerDmitry Torokhov2018-01-18 11:39:49 -0800
commitdeb106beb7efebd43a98d0fa84b3709a862da20c (patch)
tree2978c55dd62a24d578098e686cdb4ff2c0d088ed /kernel/cpu_pm.c
parent0de45027257bbae71a78240af4903d08447a669c (diff)
Input: cyapa - remove redundant assignment to 'pwr_cmd'
The variable pwr_cmd is being assigned to cyapa->suspend_power_mode twice, once during the declaration and once after taking an interruptible mutex lock. Remove the redundant first assignment since the value is never read and it is outside the mutex lock. Cleans up clang warning: drivers/input/mouse/cyapa.c:743:5: warning: Value stored to 'pwr_cmd' during its initialization is never read Signed-off-by: Colin Ian King <colin.king@canonical.com> Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Diffstat (limited to 'kernel/cpu_pm.c')
0 files changed, 0 insertions, 0 deletions