Commit 7bb61981 authored by Fabian Wolff's avatar Fabian Wolff Committed by Greg Kroah-Hartman
Browse files

staging: rtl8723bs: wifi_regd.c: fix comment formatting



This patch improves the formatting of block comments and removes one
commented-out line of code entirely (keeping it would be redundant
thanks to version control).

Signed-off-by: default avatarFabian Wolff <fabian.wolff@fau.de>
Signed-off-by: default avatarMate Horvath <horvatmate@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent a7941a08
Loading
Loading
Loading
Loading
+8 −8
Original line number Diff line number Diff line
@@ -49,7 +49,8 @@ static const struct ieee80211_regdomain rtw_regdom_rd = {
static int rtw_ieee80211_channel_to_frequency(int chan, int band)
{
	/* see 802.11 17.3.8.3.2 and Annex J
	 * there are overlapping channel numbers in 5GHz and 2GHz bands */
	 * there are overlapping channel numbers in 5GHz and 2GHz bands
	 */

	/* NL80211_BAND_2GHZ */
	if (chan == 14)
@@ -145,7 +146,6 @@ int rtw_regd_init(struct adapter *padapter,
		  void (*reg_notifier) (struct wiphy * wiphy,
				       struct regulatory_request *request))
{
	/* struct registry_priv  *registrypriv = &padapter->registrypriv; */
	struct wiphy *wiphy = padapter->rtw_wdev->wiphy;
	_rtw_regd_init_wiphy(NULL, wiphy, reg_notifier);