From: Fabian Frederick Date: Thu, 22 May 2014 00:43:40 +0000 (+1000) Subject: lib/crc32.c: remove unnecessary __constant X-Git-Tag: next-20140530~2^2~160 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=0f2490a9b8a16d99a64c7a0a7efad073710837ba;p=karo-tx-linux.git lib/crc32.c: remove unnecessary __constant Use cpu_to_le32 instead of __constant_cpu_to_le32. Signed-off-by: Fabian Frederick Cc: "David S. Miller" Signed-off-by: Andrew Morton --- diff --git a/lib/crc32.c b/lib/crc32.c index 70f00ca5ef1e..21a7b2135af6 100644 --- 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