Skip to contentSkip to conversation

Staging: rtlwifi: base: Modified the line ending with a parenthesis

PATCH New Sohil Ladhani 1 participant 1 message Aug 5, 2018 Staging

lore
Share & tools
lore
#0 lore raw

PATCH v2 1/1 Staging: rtlwifi: base: Modified the line ending with a parenthesis

This patch fixes the "Lines should not end with a '('" warning reported by checkpatch.pl script. The line containing 'rtl_mrate_idx_to_arfr_id' function previously ended with '(', which did not conform to the linux kernel coding style.

---

Changes in v2:
- Made the commit message more clearer

 drivers/staging/rtlwifi/base.c | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)
drivers/staging/rtlwifi/base.c +2 -3
index 094827c1879a..654aa4e068ba 100644
@@ -685,9 +685,8 @@ static void _rtl_query_protection_mode(struct ieee80211_hw *hw,
 	}
 }
 
-u8 rtl_mrate_idx_to_arfr_id(
-	struct ieee80211_hw *hw, u8 rate_index,
-	enum wireless_mode wirelessmode)
+u8 rtl_mrate_idx_to_arfr_id(struct ieee80211_hw *hw, u8 rate_index,
+			    enum wireless_mode wirelessmode)
 {
 	struct rtl_priv *rtlpriv = rtl_priv(hw);
 	struct rtl_phy *rtlphy = &rtlpriv->phy;
Signature · 1 line
2.18.0