OSDN Git Service

rtlwifi: rtl8821ae: Remove extra semicolons
authorLarry Finger <Larry.Finger@lwfinger.net>
Thu, 30 Oct 2014 04:17:12 +0000 (23:17 -0500)
committerJohn W. Linville <linville@tuxdriver.com>
Thu, 30 Oct 2014 19:26:54 +0000 (15:26 -0400)
The kbuild test robot reports that there are extra semicolons in this
driver. All of them are caused by using "};" rather than "}" at the
end of a switch statement. This patch does not change any functionality.

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
Cc: Murilo Opsfelder Araujo <mopsfelder@gmail.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/rtlwifi/rtl8821ae/phy.c

index 9786313..4be278f 100644 (file)
@@ -800,7 +800,7 @@ static void _rtl8821ae_phy_set_txpower_by_rate_base(struct ieee80211_hw *hw,
                                 "Invalid RateSection %d in Band 2.4G,Rf Path %d, %dTx in PHY_SetTxPowerByRateBase()\n",
                                 rate_section, path, txnum);
                        break;
-               };
+               }
        } else if (band == BAND_ON_5G) {
                switch (rate_section) {
                case OFDM:
@@ -823,7 +823,7 @@ static void _rtl8821ae_phy_set_txpower_by_rate_base(struct ieee80211_hw *hw,
                                "Invalid RateSection %d in Band 5G, Rf Path %d, %dTx in PHY_SetTxPowerByRateBase()\n",
                                rate_section, path, txnum);
                        break;
-               };
+               }
        } else {
                RT_TRACE(rtlpriv, COMP_INIT, DBG_LOUD,
                        "Invalid Band %d in PHY_SetTxPowerByRateBase()\n", band);
@@ -870,7 +870,7 @@ static u8 _rtl8821ae_phy_get_txpower_by_rate_base(struct ieee80211_hw *hw,
                                 "Invalid RateSection %d in Band 2.4G, Rf Path %d, %dTx in PHY_GetTxPowerByRateBase()\n",
                                 rate_section, path, txnum);
                        break;
-               };
+               }
        } else if (band == BAND_ON_5G) {
                switch (rate_section) {
                case OFDM:
@@ -893,7 +893,7 @@ static u8 _rtl8821ae_phy_get_txpower_by_rate_base(struct ieee80211_hw *hw,
                                 "Invalid RateSection %d in Band 5G, Rf Path %d, %dTx in PHY_GetTxPowerByRateBase()\n",
                                 rate_section, path, txnum);
                        break;
-               };
+               }
        } else {
                RT_TRACE(rtlpriv, COMP_INIT, DBG_LOUD,
                         "Invalid Band %d in PHY_GetTxPowerByRateBase()\n", band);
@@ -3743,7 +3743,7 @@ static void _rtl8821ae_iqk_tx_fill_iqc(struct ieee80211_hw *hw,
                break;
        default:
                break;
-       };
+       }
 }
 
 static void _rtl8821ae_iqk_rx_fill_iqc(struct ieee80211_hw *hw,
@@ -3764,7 +3764,7 @@ static void _rtl8821ae_iqk_rx_fill_iqc(struct ieee80211_hw *hw,
                break;
        default:
                break;
-       };
+       }
 }
 
 #define cal_num 10