Staging: rtl8192e: Remove some commented out code

Signed-off-by: Mike McCormack <mikem@ring3k.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
This commit is contained in:
Mike McCormack 2010-09-08 22:04:10 +09:00 committed by Greg Kroah-Hartman
parent d5abdf72be
commit f347140583
1 changed files with 1 additions and 7 deletions

View File

@ -299,10 +299,6 @@ void dm_check_ac_dc_power(struct net_device *dev)
void hal_dm_watchdog(struct net_device *dev) void hal_dm_watchdog(struct net_device *dev)
{ {
//struct r8192_priv *priv = ieee80211_priv(dev);
//static u8 previous_bssid[6] ={0};
dm_check_ac_dc_power(dev); dm_check_ac_dc_power(dev);
/*Add by amy 2008/05/15 ,porting from windows code.*/ /*Add by amy 2008/05/15 ,porting from windows code.*/
@ -1575,7 +1571,6 @@ void dm_initialize_txpower_tracking(struct net_device *dev)
#ifdef RTL8190P #ifdef RTL8190P
dm_InitializeTXPowerTracking_TSSI(dev); dm_InitializeTXPowerTracking_TSSI(dev);
#else #else
//if(priv->bDcut == TRUE)
if(priv->IC_Cut >= IC_VersionCut_D) if(priv->IC_Cut >= IC_VersionCut_D)
dm_InitializeTXPowerTracking_TSSI(dev); dm_InitializeTXPowerTracking_TSSI(dev);
else else
@ -1777,14 +1772,13 @@ static void dm_CCKTxPowerAdjust_ThermalMeter(struct net_device *dev, bool bInCH
void dm_cck_txpower_adjust(struct net_device *dev, bool binch14) void dm_cck_txpower_adjust(struct net_device *dev, bool binch14)
{ // dm_CCKTxPowerAdjust {
#ifndef RTL8190P #ifndef RTL8190P
struct r8192_priv *priv = ieee80211_priv(dev); struct r8192_priv *priv = ieee80211_priv(dev);
#endif #endif
#ifdef RTL8190P #ifdef RTL8190P
dm_CCKTxPowerAdjust_TSSI(dev, binch14); dm_CCKTxPowerAdjust_TSSI(dev, binch14);
#else #else
//if(priv->bDcut == TRUE)
if(priv->IC_Cut >= IC_VersionCut_D) if(priv->IC_Cut >= IC_VersionCut_D)
dm_CCKTxPowerAdjust_TSSI(dev, binch14); dm_CCKTxPowerAdjust_TSSI(dev, binch14);
else else