staging: rtl8192u: Remove function dm_backup_dynamic_mechanism_state()
Remove unused function dm_backup_dynamic_mechanism_state. Issue found with Coccinelle. Signed-off-by: Nishka Dasgupta <nishkadg.linux@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
Родитель
e6e70326d6
Коммит
3ac7843e12
|
@ -1563,18 +1563,6 @@ static void dm_bb_initialgain_restore(struct net_device *dev)
|
|||
|
||||
} /* dm_BBInitialGainRestore */
|
||||
|
||||
void dm_backup_dynamic_mechanism_state(struct net_device *dev)
|
||||
{
|
||||
struct r8192_priv *priv = ieee80211_priv(dev);
|
||||
|
||||
/* Fsync to avoid reset */
|
||||
priv->bswitch_fsync = false;
|
||||
priv->bfsync_processing = false;
|
||||
/* Backup BB InitialGain */
|
||||
dm_bb_initialgain_backup(dev);
|
||||
|
||||
} /* DM_BackupDynamicMechanismState */
|
||||
|
||||
static void dm_bb_initialgain_backup(struct net_device *dev)
|
||||
{
|
||||
struct r8192_priv *priv = ieee80211_priv(dev);
|
||||
|
|
|
@ -161,7 +161,6 @@ void hal_dm_watchdog(struct net_device *dev);
|
|||
void init_rate_adaptive(struct net_device *dev);
|
||||
void dm_txpower_trackingcallback(struct work_struct *work);
|
||||
void dm_restore_dynamic_mechanism_state(struct net_device *dev);
|
||||
void dm_backup_dynamic_mechanism_state(struct net_device *dev);
|
||||
void dm_force_tx_fw_info(struct net_device *dev,
|
||||
u32 force_type, u32 force_value);
|
||||
void dm_init_edca_turbo(struct net_device *dev);
|
||||
|
|
Загрузка…
Ссылка в новой задаче