diff options
author | George Spelvin <[email protected]> | 2014-05-10 10:32:57 -0400 |
---|---|---|
committer | John W. Linville <[email protected]> | 2014-05-16 14:26:52 -0400 |
commit | 1836eea209546b870dd83f3f4ef234d6598a560d (patch) | |
tree | 6d47ab85b4eb40d414ba74f2972b80096fd764b2 /tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/Util.py | |
parent | d91a48cbae4cc12f6e8a65372a73ecf46f8f1b7f (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 <[email protected]>
Reviewed-by: Pavel Machek <[email protected]>
Acked-by: Ulf Hansson <[email protected]>
Signed-off-by: John W. Linville <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/Util.py')
0 files changed, 0 insertions, 0 deletions