]> bbs.cooldavid.org Git - net-next-2.6.git/blobdiff - drivers/net/bonding/bond_alb.c
bonding: change some __constant_htons() to htons()
[net-next-2.6.git] / drivers / net / bonding / bond_alb.c
index b211486a0ca390ff745a7f62004e1249b6a59c51..3d39278a63e31fc9200395924cb0fa7d78301b37 100644 (file)
@@ -710,7 +710,7 @@ static struct slave *rlb_arp_xmit(struct sk_buff *skb, struct bonding *bond)
        struct arp_pkt *arp = arp_pkt(skb);
        struct slave *tx_slave = NULL;
 
-       if (arp->op_code == __constant_htons(ARPOP_REPLY)) {
+       if (arp->op_code == htons(ARPOP_REPLY)) {
                /* the arp must be sent on the selected
                * rx channel
                */
@@ -719,7 +719,7 @@ static struct slave *rlb_arp_xmit(struct sk_buff *skb, struct bonding *bond)
                        memcpy(arp->mac_src,tx_slave->dev->dev_addr, ETH_ALEN);
                }
                dprintk("Server sent ARP Reply packet\n");
-       } else if (arp->op_code == __constant_htons(ARPOP_REQUEST)) {
+       } else if (arp->op_code == htons(ARPOP_REQUEST)) {
                /* Create an entry in the rx_hashtbl for this client as a
                 * place holder.
                 * When the arp reply is received the entry will be updated