diff options
| author | George Spelvin <linux@horizon.com> | 2014-05-10 10:32:57 -0400 |
|---|---|---|
| committer | Mister Oyster <oysterized@gmail.com> | 2017-04-11 10:57:13 +0200 |
| commit | 808470257ec4db6bf061a7db98d961db891d637b (patch) | |
| tree | 43f3d66402269eb3c67f589616e174a089b124d0 /include/linux/mbcache.h | |
| parent | cbc88056d4830fd8a35dcf854ee8ff714a259152 (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/mbcache.h')
0 files changed, 0 insertions, 0 deletions
