aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c
diff options
context:
space:
mode:
authorChristos Gkekas <[email protected]>2017-07-08 19:25:48 +0000
committerJiri Kosina <[email protected]>2017-07-20 13:43:01 +0000
commitbc35f73aa62f51b80f769d3a6617f4a4ba11d81e (patch)
tree67f619dca225607fc27f84c79c962050ec899df1 /drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c
parentMerge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jik... (diff)
downloadkernel-bc35f73aa62f51b80f769d3a6617f4a4ba11d81e.tar.gz
kernel-bc35f73aa62f51b80f769d3a6617f4a4ba11d81e.zip
HID: wacom: Remove comparison of u8 mode with zero and simplify.
Variable mode in method wacom_show_remote_mode() is defined as u8, thus statement (mode >= 0) is always true and should be removed, simplifying the logic. Signed-off-by: Christos Gkekas <[email protected]> Reviewed-by: Benjamin Tissoires <[email protected]> Signed-off-by: Jiri Kosina <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c')
0 files changed, 0 insertions, 0 deletions