]> git.karo-electronics.de Git - linux-beck.git/commitdiff
staging: rtl8723au: Remove uneeded semicolon
authorRoberta Dobrescu <roberta.dobrescu@gmail.com>
Sun, 26 Oct 2014 21:30:06 +0000 (23:30 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 27 Oct 2014 10:45:03 +0000 (18:45 +0800)
This patch fixes the following warning detected using coccinelle:
Unneeded semicolon.

Signed-off-by: Roberta Dobrescu <roberta.dobrescu@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8723au/core/rtw_ap.c
drivers/staging/rtl8723au/core/rtw_recv.c

index d00255fbfcbc3b0d5bd088251a291a47a41428b8..e394d12c36b0c3b33f9d52b6041a95a2bc20804f 100644 (file)
@@ -636,7 +636,7 @@ static void start_bss_network(struct rtw_adapter *padapter, u8 *pbuf)
 
        bcn_interval = (u16)pnetwork->beacon_interval;
        cur_channel = pnetwork->DSConfig;
-       cur_bwmode = HT_CHANNEL_WIDTH_20;;
+       cur_bwmode = HT_CHANNEL_WIDTH_20;
        cur_ch_offset = HAL_PRIME_CHNL_OFFSET_DONT_CARE;
 
        /* check if there is wps ie, */
index 0c0896f3a16be9af4055f97be762b0e0796edd96..6cdfc2337c4bc2c4e156246fd782719b6df61fd6 100644 (file)
@@ -1694,7 +1694,7 @@ struct recv_frame *recvframe_defrag(struct rtw_adapter *adapter,
                skb_put(skb, pnfhdr->pkt->len);
 
                prframe->attrib.icv_len = pnfhdr->attrib.icv_len;
-       };
+       }
 
        /* free the defrag_q queue and return the prframe */
        rtw_free_recvframe23a_queue(defrag_q);