mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-05-09 14:56:54 -04:00
staging: rtl8192e: Remove unused variable DM_Type
DM_Type is initialized and then never evaluated. Remove resulting dead code. Signed-off-by: Philipp Hortmann <philipp.g.hortmann@gmail.com> Link: https://lore.kernel.org/r/380fa2767d1f1cc32a5ad271057683d67ceb1b6f.1674071236.git.philipp.g.hortmann@gmail.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
committed by
Greg Kroah-Hartman
parent
a749318330
commit
2636455b28
@@ -457,8 +457,6 @@ struct r8192_priv {
|
||||
bool set_rf_pwr_state_in_progress;
|
||||
bool bdisable_nic;
|
||||
|
||||
u8 DM_Type;
|
||||
|
||||
u8 cck_pwr_enl;
|
||||
u16 tssi_13dBm;
|
||||
u32 pwr_track;
|
||||
|
||||
@@ -203,8 +203,6 @@ void rtl92e_dm_init(struct net_device *dev)
|
||||
{
|
||||
struct r8192_priv *priv = rtllib_priv(dev);
|
||||
|
||||
priv->DM_Type = DM_Type_ByDriver;
|
||||
|
||||
priv->undecorated_smoothed_pwdb = -1;
|
||||
|
||||
_rtl92e_dm_init_dynamic_tx_power(dev);
|
||||
|
||||
@@ -47,8 +47,6 @@
|
||||
#define TX_RETRY_COUNT_REG 0x1ac
|
||||
#define RegC38_TH 20
|
||||
|
||||
#define DM_Type_ByDriver 1
|
||||
|
||||
/*--------------------------Define Parameters-------------------------------*/
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user