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
@@ -367,7 +367,7 @@ int sctp_packet_transmit(struct sctp_packet *packet)
|
||||
struct sctp_transport *tp = packet->transport;
|
||||
struct sctp_association *asoc = tp->asoc;
|
||||
struct sctphdr *sh;
|
||||
__be32 crc32 = __constant_cpu_to_be32(0);
|
||||
__be32 crc32 = cpu_to_be32(0);
|
||||
struct sk_buff *nskb;
|
||||
struct sctp_chunk *chunk, *tmp;
|
||||
struct sock *sk;
|
||||
|
Reference in New Issue
Block a user