summaryrefslogtreecommitdiffstats
path: root/Documentation/input
diff options
context:
space:
mode:
authorColin Ian King2018-01-18 20:22:11 +0100
committerDmitry Torokhov2018-01-18 20:39:49 +0100
commitdeb106beb7efebd43a98d0fa84b3709a862da20c (patch)
tree2978c55dd62a24d578098e686cdb4ff2c0d088ed /Documentation/input
parentInput: remove at32psif (diff)
downloadkernel-qcow2-linux-deb106beb7efebd43a98d0fa84b3709a862da20c.tar.gz
kernel-qcow2-linux-deb106beb7efebd43a98d0fa84b3709a862da20c.tar.xz
kernel-qcow2-linux-deb106beb7efebd43a98d0fa84b3709a862da20c.zip
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 'Documentation/input')
0 files changed, 0 insertions, 0 deletions