diff options
author | Colin Ian King | 2018-01-18 11:22:11 -0800 |
---|---|---|
committer | Dmitry Torokhov | 2018-01-18 11:39:49 -0800 |
commit | deb106beb7efebd43a98d0fa84b3709a862da20c (patch) | |
tree | 2978c55dd62a24d578098e686cdb4ff2c0d088ed /fs/f2fs/data.c | |
parent | 0de45027257bbae71a78240af4903d08447a669c (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 'fs/f2fs/data.c')
0 files changed, 0 insertions, 0 deletions