Commit e2709273 authored by Antoine Schweitzer-Chaput's avatar Antoine Schweitzer-Chaput Committed by Greg Kroah-Hartman

staging: rtl8192u: remove unused define DEBUG_EPROM

Also remove the code now unreachable.
Signed-off-by: default avatarAntoine Schweitzer-Chaput <antoine@schweitzer-chaput.fr>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent a03bb00e
...@@ -61,7 +61,6 @@ double __extendsfdf2(float a) ...@@ -61,7 +61,6 @@ double __extendsfdf2(float a)
#undef DUMP_TX #undef DUMP_TX
#undef DEBUG_TX_DESC2 #undef DEBUG_TX_DESC2
#undef RX_DONT_PASS_UL #undef RX_DONT_PASS_UL
#undef DEBUG_EPROM
#undef DEBUG_RX_VERBOSE #undef DEBUG_RX_VERBOSE
#undef DUMMY_RX #undef DUMMY_RX
#undef DEBUG_ZERO_RX #undef DEBUG_ZERO_RX
...@@ -665,15 +664,6 @@ static void tx_timeout(struct net_device *dev) ...@@ -665,15 +664,6 @@ static void tx_timeout(struct net_device *dev)
schedule_work(&priv->reset_wq); schedule_work(&priv->reset_wq);
} }
/* this is only for debug */
void dump_eprom(struct net_device *dev)
{
int i;
for (i = 0; i < 63; i++)
RT_TRACE(COMP_EPROM, "EEPROM addr %x : %x", i, eprom_read(dev, i));
}
void rtl8192_update_msr(struct net_device *dev) void rtl8192_update_msr(struct net_device *dev)
{ {
struct r8192_priv *priv = ieee80211_priv(dev); struct r8192_priv *priv = ieee80211_priv(dev);
...@@ -2869,9 +2859,6 @@ static short rtl8192_init(struct net_device *dev) ...@@ -2869,9 +2859,6 @@ static short rtl8192_init(struct net_device *dev)
return -ENOMEM; return -ENOMEM;
} }
#ifdef DEBUG_EPROM
dump_eprom(dev);
#endif
return 0; return 0;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment