From: Jiri Kosina Subject: Re: [PATCH RESEND] HID: wacom: Remove comparison of u8 mode with zero and simplify. Date: Thu, 20 Jul 2017 15:43:36 +0200 (CEST) Message-ID: References: <1499541948-3392-1-git-send-email-chris.gekas@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Return-path: Received: from mx2.suse.de ([195.135.220.15]:42313 "EHLO mx1.suse.de" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S934130AbdGTNni (ORCPT ); Thu, 20 Jul 2017 09:43:38 -0400 In-Reply-To: <1499541948-3392-1-git-send-email-chris.gekas@gmail.com> Sender: linux-input-owner@vger.kernel.org List-Id: linux-input@vger.kernel.org To: Christos Gkekas Cc: Joe Perches , Benjamin Tissoires , linux-input@vger.kernel.org, linux-kernel@vger.kernel.org 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 Applied to for-4.14/wacom, thanks. -- Jiri Kosina SUSE Labs