]> git.karo-electronics.de Git - linux-beck.git/commitdiff
staging: rtl8192e: Delete some redundant code
authorMike McCormack <mikem@ring3k.org>
Mon, 26 Jul 2010 13:58:54 +0000 (22:58 +0900)
committerGreg Kroah-Hartman <gregkh@suse.de>
Mon, 26 Jul 2010 22:45:12 +0000 (15:45 -0700)
Signed-off-by: Mike McCormack <mikem@ring3k.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/staging/rtl8192e/r8192E_dm.c

index 93d402b0fff389a430e55c8906fe90db57b5b828..a5884c6bcc251a68476b436db87c8319d27da4ee 100644 (file)
@@ -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");