From: Sujith Date: Fri, 7 Aug 2009 04:15:01 +0000 (+0530) Subject: ath9k: Remove unneeded assignment of protocol field X-Git-Tag: v2.6.32-rc1~703^2~367^2~118 X-Git-Url: https://openfabrics.org/gitweb/?a=commitdiff_plain;h=87b5bee86d281383ac2e5cae20ec47afa8fa374a;p=~shefty%2Frdma-dev.git ath9k: Remove unneeded assignment of protocol field Signed-off-by: Sujith Signed-off-by: John W. Linville --- diff --git a/drivers/net/wireless/ath/ath9k/recv.c b/drivers/net/wireless/ath/ath9k/recv.c index 6b07cedf5b7..f6a8b1c384e 100644 --- a/drivers/net/wireless/ath/ath9k/recv.c +++ b/drivers/net/wireless/ath/ath9k/recv.c @@ -788,7 +788,6 @@ int ath_rx_tasklet(struct ath_softc *sc, int flush) DMA_FROM_DEVICE); skb_put(skb, ds->ds_rxstat.rs_datalen); - skb->protocol = cpu_to_be16(ETH_P_CONTROL); /* see if any padding is done by the hw and remove it */ hdr = (struct ieee80211_hdr *)skb->data;