staging: rtl8723au: update_recvframe_phyinfo(): Don't set variables twice
authorJes Sorensen <Jes.Sorensen@redhat.com>
Fri, 9 May 2014 13:03:32 +0000 (15:03 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 15 May 2014 20:11:58 +0000 (13:11 -0700)
Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8723au/hal/rtl8723au_recv.c

index 1b5b83619c89ef6b0ab1d2481971eef40c36bcaf..6857e5e7dfebb9c00d7a634963cc8bb056beab4e 100644 (file)
@@ -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 &&