[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <alpine.LNX.2.00.1604071546270.27368@cbobk.fhfr.pm>
Date: Thu, 7 Apr 2016 15:46:46 +0200 (CEST)
From: Jiri Kosina <jikos@...nel.org>
To: Dmitry Torokhov <dmitry.torokhov@...il.com>
cc: Benjamin Tissoires <benjamin.tissoires@...hat.com>,
Doug Anderson <dianders@...omium.org>,
linux-input@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] HID: simplify implement() a bit
On Wed, 6 Apr 2016, Dmitry Torokhov wrote:
> The 'size' variable is not really needed, and we can also shift constant
> in the loop body when masking off existing bits.
>
> Also we do not have to us 64 bit calculations if we take an extra
> branch.
>
> Suggested-by: Doug Anderson <dianders@...omium.org>
> Signed-off-by: Dmitry Torokhov <dmitry.torokhov@...il.com>
Applied to for-4.7/upstream. Thanks!
--
Jiri Kosina
SUSE Labs
Powered by blists - more mailing lists