Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1692943 > unrolled thread

Re: [PATCH RESEND] HID: wacom: Remove comparison of u8 mode with zero and simplify.

Started byJiri Kosina <jikos@kernel.org>
First post2017-07-20 15:50 +0200
Last post2017-07-20 15:50 +0200
Articles 1 — 1 participant

Back to article view | Back to linux.kernel

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  Re: [PATCH RESEND] HID: wacom: Remove comparison of u8 mode with  zero and simplify. Jiri Kosina <jikos@kernel.org> - 2017-07-20 15:50 +0200

#1692943 — Re: [PATCH RESEND] HID: wacom: Remove comparison of u8 mode with zero and simplify.

FromJiri Kosina <jikos@kernel.org>
Date2017-07-20 15:50 +0200
SubjectRe: [PATCH RESEND] HID: wacom: Remove comparison of u8 mode with zero and simplify.
Message-ID<u5k01-8cN-13@gated-at.bofh.it>
On Sat, 8 Jul 2017, Christos Gkekas wrote:

> 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 <chris.gekas@gmail.com>

Applied to for-4.14/wacom, thanks.

-- 
Jiri Kosina
SUSE Labs

[toc] | [standalone]


Back to top | Article view | linux.kernel


csiph-web