Commit 57934dc1 authored by Johannes Berg's avatar Johannes Berg Committed by Wey-Yi Guy

iwlwifi: remove spurious exports

A number of exports, especially related to
thermal throttling, are unnecessary because
the code lives in the same module that it
is used in, so remove them.
Signed-off-by: default avatarJohannes Berg <johannes.berg@intel.com>
Signed-off-by: default avatarWey-Yi Guy <wey-yi.w.guy@intel.com>
parent 69fdb710
...@@ -571,7 +571,6 @@ void iwl_tt_enter_ct_kill(struct iwl_priv *priv) ...@@ -571,7 +571,6 @@ void iwl_tt_enter_ct_kill(struct iwl_priv *priv)
IWL_DEBUG_POWER(priv, "Queueing critical temperature enter.\n"); IWL_DEBUG_POWER(priv, "Queueing critical temperature enter.\n");
queue_work(priv->workqueue, &priv->ct_enter); queue_work(priv->workqueue, &priv->ct_enter);
} }
EXPORT_SYMBOL(iwl_tt_enter_ct_kill);
void iwl_tt_exit_ct_kill(struct iwl_priv *priv) void iwl_tt_exit_ct_kill(struct iwl_priv *priv)
{ {
...@@ -581,7 +580,6 @@ void iwl_tt_exit_ct_kill(struct iwl_priv *priv) ...@@ -581,7 +580,6 @@ void iwl_tt_exit_ct_kill(struct iwl_priv *priv)
IWL_DEBUG_POWER(priv, "Queueing critical temperature exit.\n"); IWL_DEBUG_POWER(priv, "Queueing critical temperature exit.\n");
queue_work(priv->workqueue, &priv->ct_exit); queue_work(priv->workqueue, &priv->ct_exit);
} }
EXPORT_SYMBOL(iwl_tt_exit_ct_kill);
static void iwl_bg_tt_work(struct work_struct *work) static void iwl_bg_tt_work(struct work_struct *work)
{ {
...@@ -608,7 +606,6 @@ void iwl_tt_handler(struct iwl_priv *priv) ...@@ -608,7 +606,6 @@ void iwl_tt_handler(struct iwl_priv *priv)
IWL_DEBUG_POWER(priv, "Queueing thermal throttling work.\n"); IWL_DEBUG_POWER(priv, "Queueing thermal throttling work.\n");
queue_work(priv->workqueue, &priv->tt_work); queue_work(priv->workqueue, &priv->tt_work);
} }
EXPORT_SYMBOL(iwl_tt_handler);
/* Thermal throttling initialization /* Thermal throttling initialization
* For advance thermal throttling: * For advance thermal throttling:
...@@ -678,7 +675,6 @@ void iwl_tt_initialize(struct iwl_priv *priv) ...@@ -678,7 +675,6 @@ void iwl_tt_initialize(struct iwl_priv *priv)
priv->thermal_throttle.advanced_tt = false; priv->thermal_throttle.advanced_tt = false;
} }
} }
EXPORT_SYMBOL(iwl_tt_initialize);
/* cleanup thermal throttling management related memory and timer */ /* cleanup thermal throttling management related memory and timer */
void iwl_tt_exit(struct iwl_priv *priv) void iwl_tt_exit(struct iwl_priv *priv)
...@@ -701,4 +697,3 @@ void iwl_tt_exit(struct iwl_priv *priv) ...@@ -701,4 +697,3 @@ void iwl_tt_exit(struct iwl_priv *priv)
tt->transaction = NULL; tt->transaction = NULL;
} }
} }
EXPORT_SYMBOL(iwl_tt_exit);
...@@ -2653,7 +2653,6 @@ int iwl_force_reset(struct iwl_priv *priv, int mode, bool external) ...@@ -2653,7 +2653,6 @@ int iwl_force_reset(struct iwl_priv *priv, int mode, bool external)
} }
return 0; return 0;
} }
EXPORT_SYMBOL(iwl_force_reset);
/** /**
* iwl_bg_monitor_recover - Timer callback to check for stuck queue and recover * iwl_bg_monitor_recover - Timer callback to check for stuck queue and recover
......
...@@ -121,7 +121,6 @@ void iwl_force_scan_end(struct iwl_priv *priv) ...@@ -121,7 +121,6 @@ void iwl_force_scan_end(struct iwl_priv *priv)
clear_bit(STATUS_SCAN_ABORTING, &priv->status); clear_bit(STATUS_SCAN_ABORTING, &priv->status);
iwl_complete_scan(priv, true); iwl_complete_scan(priv, true);
} }
EXPORT_SYMBOL(iwl_force_scan_end);
static void iwl_do_scan_abort(struct iwl_priv *priv) static void iwl_do_scan_abort(struct iwl_priv *priv)
{ {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment