From: George Spelvin Date: Sat, 10 May 2014 14:32:57 +0000 (-0400) Subject: lib/crc7: Shift crc7() output left 1 bit X-Git-Tag: omap-for-v3.16/fixes-against-rc1~36^2~122^2^2~40 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1836eea209546b870dd83f3f4ef234d6598a560d;p=pandora-kernel.git 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 from files that don't use it at all. Signed-off-by: George Spelvin Reviewed-by: Pavel Machek Acked-by: Ulf Hansson Signed-off-by: John W. Linville --- Reading git-diff-tree failed