diff options
author | Nishka Dasgupta <nishkadg.linux@gmail.com> | 2019-06-26 12:17:59 +0530 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2019-07-01 09:11:23 +0200 |
commit | 3ac7843e12df11fcdead4f5a18885473b92f970d (patch) | |
tree | e22ae8a0438d61464e4918282ec794c66d98576d /drivers/staging/rtl8192u | |
parent | e6e70326d657a36dcd73d4bc152471b62d2a198f (diff) | |
download | blackbird-op-linux-3ac7843e12df11fcdead4f5a18885473b92f970d.tar.gz blackbird-op-linux-3ac7843e12df11fcdead4f5a18885473b92f970d.zip |
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>
Diffstat (limited to 'drivers/staging/rtl8192u')
-rw-r--r-- | drivers/staging/rtl8192u/r8192U_dm.c | 12 | ||||
-rw-r--r-- | drivers/staging/rtl8192u/r8192U_dm.h | 1 |
2 files changed, 0 insertions, 13 deletions
diff --git a/drivers/staging/rtl8192u/r8192U_dm.c b/drivers/staging/rtl8192u/r8192U_dm.c index 2ba01041406b..88cdfd05d485 100644 --- a/drivers/staging/rtl8192u/r8192U_dm.c +++ b/drivers/staging/rtl8192u/r8192U_dm.c @@ -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); diff --git a/drivers/staging/rtl8192u/r8192U_dm.h b/drivers/staging/rtl8192u/r8192U_dm.h index 0de0332906bd..0b2a1c688597 100644 --- a/drivers/staging/rtl8192u/r8192U_dm.h +++ b/drivers/staging/rtl8192u/r8192U_dm.h @@ -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); |