net: replace uses of __constant_{endian}
[deliverable/linux.git] / drivers / net / usb / hso.c
index 0d0fa91c025130fa96637d70a89b2cc101b89233..806cc5da56ce1d164facd0421d2c298a57d77612 100644 (file)
@@ -934,8 +934,7 @@ static void packetizeRx(struct hso_net *odev, unsigned char *ip_pkt,
                        if (!odev->rx_buf_missing) {
                                /* Packet is complete. Inject into stack. */
                                /* We have IP packet here */
-                               odev->skb_rx_buf->protocol =
-                                               __constant_htons(ETH_P_IP);
+                               odev->skb_rx_buf->protocol = cpu_to_be16(ETH_P_IP);
                                /* don't check it */
                                odev->skb_rx_buf->ip_summed =
                                        CHECKSUM_UNNECESSARY;
This page took 0.03633 seconds and 5 git commands to generate.