mirror of
https://github.com/torvalds/linux.git
synced 2024-11-23 20:51:44 +00:00
staging: rtl8192e: Delete some redundant code
Signed-off-by: Mike McCormack <mikem@ring3k.org> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
This commit is contained in:
parent
5976b94353
commit
125ed824d3
@ -2094,8 +2094,6 @@ static void dm_ctrl_initgain_byrssi(struct net_device *dev)
|
||||
dm_ctrl_initgain_byrssi_by_fwfalse_alarm(dev);
|
||||
else if(dm_digtable.dig_algorithm == DIG_ALGO_BY_RSSI)
|
||||
dm_ctrl_initgain_byrssi_by_driverrssi(dev);
|
||||
else
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
@ -2938,8 +2936,6 @@ void dm_gpio_change_rf_callback(struct work_struct *work)
|
||||
RT_RF_POWER_STATE eRfPowerStateToSet;
|
||||
bool bActuallySet = false;
|
||||
|
||||
bActuallySet=false;
|
||||
|
||||
if(!priv->up)
|
||||
{
|
||||
RT_TRACE((COMP_INIT | COMP_POWER | COMP_RF),"dm_gpio_change_rf_callback(): Callback function breaks out!!\n");
|
||||
|
Loading…
Reference in New Issue
Block a user