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
@@ -149,8 +149,8 @@ static struct task_struct *sync_backup_thread;
|
||||
/* multicast addr */
|
||||
static struct sockaddr_in mcast_addr = {
|
||||
.sin_family = AF_INET,
|
||||
.sin_port = __constant_htons(IP_VS_SYNC_PORT),
|
||||
.sin_addr.s_addr = __constant_htonl(IP_VS_SYNC_GROUP),
|
||||
.sin_port = cpu_to_be16(IP_VS_SYNC_PORT),
|
||||
.sin_addr.s_addr = cpu_to_be32(IP_VS_SYNC_GROUP),
|
||||
};
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user