From: Mahati Chamarthy Date: Thu, 18 Sep 2014 13:57:09 +0000 (+0530) Subject: Staging: rtl8192e: Fix __constant_htons to htons style warning X-Git-Tag: v4.14-rc1~6739^2~305 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=3f76a4ea5383ba2f9e76f9625f77ff246907a134;p=platform%2Fkernel%2Flinux-rpi.git Staging: rtl8192e: Fix __constant_htons to htons style warning This fixes the following checkpatch.pl warning: WARNING: __constant_htons should be htons Signed-off-by: Mahati Chamarthy Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/rtl8192e/rtllib_rx.c b/drivers/staging/rtl8192e/rtllib_rx.c index 8f4f589..1c2014f 100644 --- a/drivers/staging/rtl8192e/rtllib_rx.c +++ b/drivers/staging/rtl8192e/rtllib_rx.c @@ -52,7 +52,7 @@ static inline void rtllib_monitor_rx(struct rtllib_device *ieee, skb_reset_mac_header(skb); skb_pull(skb, hdr_length); skb->pkt_type = PACKET_OTHERHOST; - skb->protocol = __constant_htons(ETH_P_80211_RAW); + skb->protocol = htons(ETH_P_80211_RAW); memset(skb->cb, 0, sizeof(skb->cb)); netif_rx(skb); }