aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/iwlwifi/iwl-core.c
diff options
context:
space:
mode:
authorEmmanuel Grumbach <emmanuel.grumbach@intel.com>2008-09-02 23:26:56 -0400
committerJohn W. Linville <linville@tuxdriver.com>2008-09-11 15:53:31 -0400
commita33c2f47bd4618b0483d5ec4c5bc793e6d02c1f7 (patch)
tree20806f4dca919ca77c9b674d3f0ac43c4da46291 /drivers/net/wireless/iwlwifi/iwl-core.c
parent04816448d8b77551834c9ea01e407ef5f0042f0f (diff)
iwlwifi: remove uneeded declarations
This patch cleans up iwlwifi by removing uneeded declarations and removing uneeded symbol export reducing the namespace pollution. It also fixes some typos in comments. Signed-off-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com> Signed-off-by: Zhu Yi <yi.zhu@intel.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/iwlwifi/iwl-core.c')
-rw-r--r--drivers/net/wireless/iwlwifi/iwl-core.c9
1 files changed, 3 insertions, 6 deletions
diff --git a/drivers/net/wireless/iwlwifi/iwl-core.c b/drivers/net/wireless/iwlwifi/iwl-core.c
index 46683eacfdcd..36d08b0eec43 100644
--- a/drivers/net/wireless/iwlwifi/iwl-core.c
+++ b/drivers/net/wireless/iwlwifi/iwl-core.c
@@ -801,7 +801,7 @@ void iwl_set_rxon_chain(struct iwl_priv *priv)
801 else 801 else
802 priv->staging_rxon.rx_chain &= ~RXON_RX_CHAIN_MIMO_FORCE_MSK; 802 priv->staging_rxon.rx_chain &= ~RXON_RX_CHAIN_MIMO_FORCE_MSK;
803 803
804 IWL_DEBUG_ASSOC("rx_chain=0x%Xi active=%d idle=%d\n", 804 IWL_DEBUG_ASSOC("rx_chain=0x%X active=%d idle=%d\n",
805 priv->staging_rxon.rx_chain, 805 priv->staging_rxon.rx_chain,
806 active_rx_cnt, idle_rx_cnt); 806 active_rx_cnt, idle_rx_cnt);
807 807
@@ -1158,7 +1158,6 @@ int iwl_verify_ucode(struct iwl_priv *priv)
1158} 1158}
1159EXPORT_SYMBOL(iwl_verify_ucode); 1159EXPORT_SYMBOL(iwl_verify_ucode);
1160 1160
1161
1162static const char *desc_lookup(int i) 1161static const char *desc_lookup(int i)
1163{ 1162{
1164 switch (i) { 1163 switch (i) {
@@ -1239,9 +1238,9 @@ EXPORT_SYMBOL(iwl_dump_nic_error_log);
1239/** 1238/**
1240 * iwl_print_event_log - Dump error event log to syslog 1239 * iwl_print_event_log - Dump error event log to syslog
1241 * 1240 *
1242 * NOTE: Must be called with iwl4965_grab_nic_access() already obtained! 1241 * NOTE: Must be called with iwl_grab_nic_access() already obtained!
1243 */ 1242 */
1244void iwl_print_event_log(struct iwl_priv *priv, u32 start_idx, 1243static void iwl_print_event_log(struct iwl_priv *priv, u32 start_idx,
1245 u32 num_events, u32 mode) 1244 u32 num_events, u32 mode)
1246{ 1245{
1247 u32 i; 1246 u32 i;
@@ -1282,8 +1281,6 @@ void iwl_print_event_log(struct iwl_priv *priv, u32 start_idx,
1282 } 1281 }
1283 } 1282 }
1284} 1283}
1285EXPORT_SYMBOL(iwl_print_event_log);
1286
1287 1284
1288void iwl_dump_nic_event_log(struct iwl_priv *priv) 1285void iwl_dump_nic_event_log(struct iwl_priv *priv)
1289{ 1286{