summaryrefslogtreecommitdiff
path: root/link.h
AgeCommit message (Expand)AuthorFilesLines
2013-12-18debian: define SPEED_UNKNOWN if missing in linux/ethtool.hJesper Dangaard Brouer1-0/+4
2013-06-04link: add link management functionsDaniel Borkmann1-0/+18
'>10space:mode:
authorDmitry Torokhov <dmitry.torokhov@gmail.com>2016-04-06 10:19:58 -0700
committerJiri Kosina <jkosina@suse.cz>2016-04-07 15:45:09 +0200
commit95d1c8951e5bd50bb89654a99a7012b1e75646bd (patch)
tree80f1e3f656c80f7ef27c0159418f69cce68ce731 /Documentation/hwmon/tmp401
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 'Documentation/hwmon/tmp401')