aboutsummaryrefslogtreecommitdiff
path: root/include/linux/parser.h
diff options
context:
space:
mode:
authorGeorge Spelvin <linux@horizon.com>2014-05-10 10:32:57 -0400
committerMister Oyster <oysterized@gmail.com>2017-04-11 10:57:13 +0200
commit808470257ec4db6bf061a7db98d961db891d637b (patch)
tree43f3d66402269eb3c67f589616e174a089b124d0 /include/linux/parser.h
parentcbc88056d4830fd8a35dcf854ee8ff714a259152 (diff)
lib/crc7: Shift crc7() output left 1 bit
This eliminates a 1-bit left shift in every single caller, and makes the inner loop of the CRC computation more efficient. Renamed crc7 to crc7_be (big-endian) since the interface changed. Also purged #include <linux/crc7.h> from files that don't use it at all. Signed-off-by: George Spelvin <linux@horizon.com> Reviewed-by: Pavel Machek <pavel@ucw.cz> Acked-by: Ulf Hansson <ulf.hansson@linaro.org> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'include/linux/parser.h')
0 files changed, 0 insertions, 0 deletions