Re: [PATCH RESEND] HID: wacom: Remove comparison of u8 mode with zero and simplify.
From: Jiri Kosina
Date: Thu Jul 20 2017 - 09:43:43 EST
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@xxxxxxxxx>
Applied to for-4.14/wacom, thanks.
--
Jiri Kosina
SUSE Labs