diff options
author | Colin Ian King <colin.king@canonical.com> | 2016-12-20 22:23:30 +0100 |
---|---|---|
committer | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2016-12-29 19:10:52 +0100 |
commit | 0c54fe74db73499637315d6b3d83a7adbc6f32aa (patch) | |
tree | 9633963a54c626b3fea38c060f68369d752de753 /lib/devres.c | |
parent | Input: synaptics-rmi4 - use Kconfig "if" to express dependency (diff) | |
download | linux-0c54fe74db73499637315d6b3d83a7adbc6f32aa.tar.xz linux-0c54fe74db73499637315d6b3d83a7adbc6f32aa.zip |
Input: synaptics-rmi4 - check for non zero version logically dead code
version is a u8, the check for version > 0 means that version can only
be zero, so the subsequent check for version != 0 is never true and
hence is redudant code and can be removed.
Signed-off-by: Colin Ian King <colin.king@canonical.com>
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Diffstat (limited to 'lib/devres.c')
0 files changed, 0 insertions, 0 deletions