diff options
author | George Spelvin <linux@horizon.com> | 2014-06-23 09:11:56 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2014-06-25 19:04:00 -0400 |
commit | d8f1c4778e957273c3b5b6e045d8d3af38484ca8 (patch) | |
tree | 734ab1bfada593301e315a18b01ad39e68a9730e /lib/crc32.c | |
parent | 4fa8e03b22df9b34f87906fa29de788bfa628bff (diff) |
lib: crc32: Add some additional __pure annotations
In case they help the compiler.
Signed-off-by: George Spelvin <linux@horizon.com>
Signed-off-by: Daniel Borkmann <dborkman@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'lib/crc32.c')
-rw-r--r-- | lib/crc32.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/crc32.c b/lib/crc32.c index af938ab12468..9a907d489d95 100644 --- a/lib/crc32.c +++ b/lib/crc32.c | |||
@@ -53,7 +53,7 @@ MODULE_LICENSE("GPL"); | |||
53 | #if CRC_LE_BITS > 8 || CRC_BE_BITS > 8 | 53 | #if CRC_LE_BITS > 8 || CRC_BE_BITS > 8 |
54 | 54 | ||
55 | /* implements slicing-by-4 or slicing-by-8 algorithm */ | 55 | /* implements slicing-by-4 or slicing-by-8 algorithm */ |
56 | static inline u32 | 56 | static inline u32 __pure |
57 | crc32_body(u32 crc, unsigned char const *buf, size_t len, const u32 (*tab)[256]) | 57 | crc32_body(u32 crc, unsigned char const *buf, size_t len, const u32 (*tab)[256]) |
58 | { | 58 | { |
59 | # ifdef __LITTLE_ENDIAN | 59 | # ifdef __LITTLE_ENDIAN |