Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1692943
| From | Jiri Kosina <jikos@kernel.org> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [PATCH RESEND] HID: wacom: Remove comparison of u8 mode with zero and simplify. |
| Date | 2017-07-20 15:50 +0200 |
| Message-ID | <u5k01-8cN-13@gated-at.bofh.it> (permalink) |
| References | <u13At-69U-1@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
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
Back to linux.kernel | Previous | Next | Find similar | Unroll thread
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
csiph-web