Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1373407
| From | Jiri Kosina <jikos@kernel.org> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [PATCH] HID: simplify implement() a bit |
| Date | 2016-04-07 15:50 +0200 |
| Message-ID | <rlitQ-4AV-33@gated-at.bofh.it> (permalink) |
| References | <rkZrc-7ns-15@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
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@chromium.org> > Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com> Applied to for-4.7/upstream. Thanks! -- Jiri Kosina SUSE Labs
Back to linux.kernel | Previous | Next — Previous in thread | Find similar | Unroll thread
[PATCH] HID: simplify implement() a bit Dmitry Torokhov <dmitry.torokhov@gmail.com> - 2016-04-06 19:30 +0200 Re: [PATCH] HID: simplify implement() a bit Doug Anderson <dianders@chromium.org> - 2016-04-06 23:40 +0200 Re: [PATCH] HID: simplify implement() a bit Jiri Kosina <jikos@kernel.org> - 2016-04-07 15:50 +0200
csiph-web