net: replace uses of __constant_{endian}
Base versions handle constant folding now. Signed-off-by: Harvey Harrison <harvey.harrison@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:

committed by
David S. Miller

parent
ee437770c4
commit
09640e6365
@@ -543,7 +543,7 @@ typedef union efx_oword {
|
||||
|
||||
/* Static initialiser */
|
||||
#define EFX_OWORD32(a, b, c, d) \
|
||||
{ .u32 = { __constant_cpu_to_le32(a), __constant_cpu_to_le32(b), \
|
||||
__constant_cpu_to_le32(c), __constant_cpu_to_le32(d) } }
|
||||
{ .u32 = { cpu_to_le32(a), cpu_to_le32(b), \
|
||||
cpu_to_le32(c), cpu_to_le32(d) } }
|
||||
|
||||
#endif /* EFX_BITFIELD_H */
|
||||
|
Reference in New Issue
Block a user