projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8e4c0b6
)
lib/crc32.c: remove unnecessary __constant
author
Fabian Frederick
<
[email protected]
>
Wed, 4 Jun 2014 23:11:56 +0000
(16:11 -0700)
committer
Linus Torvalds
<
[email protected]
>
Wed, 4 Jun 2014 23:54:19 +0000
(16:54 -0700)
Use cpu_to_le32 instead of __constant_cpu_to_le32.
Signed-off-by: Fabian Frederick <
[email protected]
>
Cc: "David S. Miller" <
[email protected]
>
Signed-off-by: Andrew Morton <
[email protected]
>
Signed-off-by: Linus Torvalds <
[email protected]
>
lib/crc32.c
patch
|
blob
|
history
diff --git
a/lib/crc32.c
b/lib/crc32.c
index 70f00ca5ef1e8fd2d4b38d047aa71baeaa207182..21a7b2135af6bf29e9d75b82b95da7c03381ed8b 100644
(file)
--- a/
lib/crc32.c
+++ b/
lib/crc32.c
@@
-33,13
+33,13
@@
#include "crc32defs.h"
#if CRC_LE_BITS > 8
-# define tole(x) ((__force u32)
__constant_
cpu_to_le32(x))
+# define tole(x) ((__force u32) cpu_to_le32(x))
#else
# define tole(x) (x)
#endif
#if CRC_BE_BITS > 8
-# define tobe(x) ((__force u32)
__constant_
cpu_to_be32(x))
+# define tobe(x) ((__force u32) cpu_to_be32(x))
#else
# define tobe(x) (x)
#endif