From: Jes Sorensen Date: Fri, 9 May 2014 13:03:32 +0000 (+0200) Subject: staging: rtl8723au: update_recvframe_phyinfo(): Don't set variables twice X-Git-Tag: firefly_0821_release~176^2~3465^2~39^2~989 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=b307108165cf98f70238900593719b15d7dd4075;p=firefly-linux-kernel-4.4.55.git staging: rtl8723au: update_recvframe_phyinfo(): Don't set variables twice Signed-off-by: Jes Sorensen Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/rtl8723au/hal/rtl8723au_recv.c b/drivers/staging/rtl8723au/hal/rtl8723au_recv.c index 1b5b83619c89..6857e5e7dfeb 100644 --- a/drivers/staging/rtl8723au/hal/rtl8723au_recv.c +++ b/drivers/staging/rtl8723au/hal/rtl8723au_recv.c @@ -203,10 +203,6 @@ void update_recvframe_phyinfo(struct recv_frame *precvframe, struct ieee80211_hdr *hdr = (struct ieee80211_hdr *) skb->data; u8 *wlanhdr = skb->data; - pkt_info.bPacketMatchBSSID = false; - pkt_info.bPacketToSelf = false; - pkt_info.bPacketBeacon = false; - pkt_info.bPacketMatchBSSID = (!ieee80211_is_ctl(hdr->frame_control) && !pattrib->icv_err &&