diff options
Diffstat (limited to 'drivers/net/wireless/adm8211.c')
-rw-r--r-- | drivers/net/wireless/adm8211.c | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/drivers/net/wireless/adm8211.c b/drivers/net/wireless/adm8211.c index e6ca3eb4c0d..547912e6843 100644 --- a/drivers/net/wireless/adm8211.c +++ b/drivers/net/wireless/adm8211.c | |||
@@ -302,18 +302,6 @@ static int adm8211_get_stats(struct ieee80211_hw *dev, | |||
302 | return 0; | 302 | return 0; |
303 | } | 303 | } |
304 | 304 | ||
305 | static int adm8211_get_tx_stats(struct ieee80211_hw *dev, | ||
306 | struct ieee80211_tx_queue_stats *stats) | ||
307 | { | ||
308 | struct adm8211_priv *priv = dev->priv; | ||
309 | |||
310 | stats[0].len = priv->cur_tx - priv->dirty_tx; | ||
311 | stats[0].limit = priv->tx_ring_size - 2; | ||
312 | stats[0].count = priv->dirty_tx; | ||
313 | |||
314 | return 0; | ||
315 | } | ||
316 | |||
317 | static void adm8211_interrupt_tci(struct ieee80211_hw *dev) | 305 | static void adm8211_interrupt_tci(struct ieee80211_hw *dev) |
318 | { | 306 | { |
319 | struct adm8211_priv *priv = dev->priv; | 307 | struct adm8211_priv *priv = dev->priv; |
@@ -1773,7 +1761,6 @@ static const struct ieee80211_ops adm8211_ops = { | |||
1773 | .prepare_multicast = adm8211_prepare_multicast, | 1761 | .prepare_multicast = adm8211_prepare_multicast, |
1774 | .configure_filter = adm8211_configure_filter, | 1762 | .configure_filter = adm8211_configure_filter, |
1775 | .get_stats = adm8211_get_stats, | 1763 | .get_stats = adm8211_get_stats, |
1776 | .get_tx_stats = adm8211_get_tx_stats, | ||
1777 | .get_tsf = adm8211_get_tsft | 1764 | .get_tsf = adm8211_get_tsft |
1778 | }; | 1765 | }; |
1779 | 1766 | ||