Skip to content

Commit 09fa9d8

Browse files
lwfingerlinvjw
authored andcommitted
rtlwifi: rtl8821ae: Remove extra semicolons
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>
1 parent 3fe33c4 commit 09fa9d8

File tree

1 file changed

+6
-6
lines changed
  • drivers/net/wireless/rtlwifi/rtl8821ae

1 file changed

+6
-6
lines changed

drivers/net/wireless/rtlwifi/rtl8821ae/phy.c

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -800,7 +800,7 @@ static void _rtl8821ae_phy_set_txpower_by_rate_base(struct ieee80211_hw *hw,
800800
"Invalid RateSection %d in Band 2.4G,Rf Path %d, %dTx in PHY_SetTxPowerByRateBase()\n",
801801
rate_section, path, txnum);
802802
break;
803-
};
803+
}
804804
} else if (band == BAND_ON_5G) {
805805
switch (rate_section) {
806806
case OFDM:
@@ -823,7 +823,7 @@ static void _rtl8821ae_phy_set_txpower_by_rate_base(struct ieee80211_hw *hw,
823823
"Invalid RateSection %d in Band 5G, Rf Path %d, %dTx in PHY_SetTxPowerByRateBase()\n",
824824
rate_section, path, txnum);
825825
break;
826-
};
826+
}
827827
} else {
828828
RT_TRACE(rtlpriv, COMP_INIT, DBG_LOUD,
829829
"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,
870870
"Invalid RateSection %d in Band 2.4G, Rf Path %d, %dTx in PHY_GetTxPowerByRateBase()\n",
871871
rate_section, path, txnum);
872872
break;
873-
};
873+
}
874874
} else if (band == BAND_ON_5G) {
875875
switch (rate_section) {
876876
case OFDM:
@@ -893,7 +893,7 @@ static u8 _rtl8821ae_phy_get_txpower_by_rate_base(struct ieee80211_hw *hw,
893893
"Invalid RateSection %d in Band 5G, Rf Path %d, %dTx in PHY_GetTxPowerByRateBase()\n",
894894
rate_section, path, txnum);
895895
break;
896-
};
896+
}
897897
} else {
898898
RT_TRACE(rtlpriv, COMP_INIT, DBG_LOUD,
899899
"Invalid Band %d in PHY_GetTxPowerByRateBase()\n", band);
@@ -3743,7 +3743,7 @@ static void _rtl8821ae_iqk_tx_fill_iqc(struct ieee80211_hw *hw,
37433743
break;
37443744
default:
37453745
break;
3746-
};
3746+
}
37473747
}
37483748

37493749
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,
37643764
break;
37653765
default:
37663766
break;
3767-
};
3767+
}
37683768
}
37693769

37703770
#define cal_num 10

0 commit comments

Comments
 (0)