mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 03:01:39 -04:00
lib: crc32: Add some additional __pure annotations
In case they help the compiler. Signed-off-by: George Spelvin <[email protected]> Signed-off-by: Daniel Borkmann <[email protected]> Signed-off-by: David S. Miller <[email protected]>
This commit is contained in:
parent
4fa8e03b22
commit
d8f1c4778e
2 changed files with 4 additions and 4 deletions
|
|
@ -53,7 +53,7 @@ MODULE_LICENSE("GPL");
|
|||
#if CRC_LE_BITS > 8 || CRC_BE_BITS > 8
|
||||
|
||||
/* implements slicing-by-4 or slicing-by-8 algorithm */
|
||||
static inline u32
|
||||
static inline u32 __pure
|
||||
crc32_body(u32 crc, unsigned char const *buf, size_t len, const u32 (*tab)[256])
|
||||
{
|
||||
# ifdef __LITTLE_ENDIAN
|
||||
|
|
|
|||
Loading…
Reference in a new issue