aboutsummaryrefslogtreecommitdiff
path: root/tools/include
diff options
context:
space:
mode:
authorDmitry Torokhov2016-04-06 10:19:58 -0700
committerJiri Kosina2016-04-07 15:45:09 +0200
commit95d1c8951e5bd50bb89654a99a7012b1e75646bd (patch)
tree80f1e3f656c80f7ef27c0159418f69cce68ce731 /tools/include
parent6edac6fde59e231bd297ebcbc3d1bd395006cd1d (diff)
HID: simplify implement() a bit
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 use 64 bit calculations if we take an extra branch. [jkosina@suse.cz: fix a small error in changelog] Suggested-by: Doug Anderson <dianders@chromium.org> Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com> Reviewed-by: Douglas Anderson <dianders@chromium.org> Signed-off-by: Jiri Kosina <jkosina@suse.cz>
Diffstat (limited to 'tools/include')
0 files changed, 0 insertions, 0 deletions