summaryrefslogtreecommitdiffstats
path: root/lib/test_module.c
diff options
context:
space:
mode:
authorGeorge Spelvin2014-05-10 16:32:57 +0200
committerJohn W. Linville2014-05-16 20:26:52 +0200
commit1836eea209546b870dd83f3f4ef234d6598a560d (patch)
tree6d47ab85b4eb40d414ba74f2972b80096fd764b2 /lib/test_module.c
parentMerge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/iwlwif... (diff)
downloadkernel-qcow2-linux-1836eea209546b870dd83f3f4ef234d6598a560d.tar.gz
kernel-qcow2-linux-1836eea209546b870dd83f3f4ef234d6598a560d.tar.xz
kernel-qcow2-linux-1836eea209546b870dd83f3f4ef234d6598a560d.zip
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 'lib/test_module.c')
0 files changed, 0 insertions, 0 deletions