aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/rtlwifi/rtl8192ce/trx.c
diff options
context:
space:
mode:
authorJoe Perches <joe@perches.com>2012-01-04 22:40:41 -0500
committerJohn W. Linville <linville@tuxdriver.com>2012-01-24 14:07:40 -0500
commitf30d7507a8116e2099a9135c873411db8c0a3dc6 (patch)
tree14ff0954b36045e9dfce93a4f0dd0e40c04960a2 /drivers/net/wireless/rtlwifi/rtl8192ce/trx.c
parentaf08687b4e6d44dcdb04b519e718eb58ecb99050 (diff)
rtlwifi: Convert RT_TRACE macro to use ##__VA_ARGS__
Consolidate printks to avoid possible message interleaving and reduce the object size. Remove unnecessary RT_TRACE parentheses. Miscellaneous typo and grammar fixes. Add missing newlines to formats. Remove duplicate KERN_DEBUG prefixes. Coalesce formats. Align arguments. $ size drivers/net/wireless/rtlwifi/built-in.o* text data bss dec hex filename 594841 55333 129680 779854 be64e drivers/net/wireless/rtlwifi/built-in.o.new 607022 55333 138720 801075 c3933 drivers/net/wireless/rtlwifi/built-in.o.old Signed-off-by: Joe Perches <joe@perches.com> Acked-by: Larry Finger <Larry.Finger@lwfinger.net> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/rtlwifi/rtl8192ce/trx.c')
-rw-r--r--drivers/net/wireless/rtlwifi/rtl8192ce/trx.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/wireless/rtlwifi/rtl8192ce/trx.c b/drivers/net/wireless/rtlwifi/rtl8192ce/trx.c
index 378bc5673464..9f6fac450a48 100644
--- a/drivers/net/wireless/rtlwifi/rtl8192ce/trx.c
+++ b/drivers/net/wireless/rtlwifi/rtl8192ce/trx.c
@@ -725,7 +725,7 @@ void rtl92ce_tx_fill_desc(struct ieee80211_hw *hw,
725 if (ieee80211_is_data_qos(fc)) { 725 if (ieee80211_is_data_qos(fc)) {
726 if (mac->rdg_en) { 726 if (mac->rdg_en) {
727 RT_TRACE(rtlpriv, COMP_SEND, DBG_TRACE, 727 RT_TRACE(rtlpriv, COMP_SEND, DBG_TRACE,
728 ("Enable RDG function.\n")); 728 "Enable RDG function\n");
729 SET_TX_DESC_RDG_ENABLE(pdesc, 1); 729 SET_TX_DESC_RDG_ENABLE(pdesc, 1);
730 SET_TX_DESC_HTC(pdesc, 1); 730 SET_TX_DESC_HTC(pdesc, 1);
731 } 731 }
@@ -763,7 +763,7 @@ void rtl92ce_tx_fill_desc(struct ieee80211_hw *hw,
763 SET_TX_DESC_BMC(pdesc, 1); 763 SET_TX_DESC_BMC(pdesc, 1);
764 } 764 }
765 765
766 RT_TRACE(rtlpriv, COMP_SEND, DBG_TRACE, ("\n")); 766 RT_TRACE(rtlpriv, COMP_SEND, DBG_TRACE, "\n");
767} 767}
768 768
769void rtl92ce_tx_fill_cmddesc(struct ieee80211_hw *hw, 769void rtl92ce_tx_fill_cmddesc(struct ieee80211_hw *hw,