Commit 6fdd946a authored by Malcolm Priestley's avatar Malcolm Priestley Committed by Greg Kroah-Hartman

staging: vt6656: device.h remove old wireless stats

These are dead nolonger of use.
Signed-off-by: default avatarMalcolm Priestley <tvboxspy@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent d0f17b64
...@@ -289,7 +289,6 @@ struct vnt_private { ...@@ -289,7 +289,6 @@ struct vnt_private {
u8 mac_hw; u8 mac_hw;
/* netdev */ /* netdev */
struct usb_device *usb; struct usb_device *usb;
struct net_device_stats stats;
u64 tsf_time; u64 tsf_time;
u8 rx_rate; u8 rx_rate;
...@@ -437,7 +436,6 @@ struct vnt_private { ...@@ -437,7 +436,6 @@ struct vnt_private {
u8 byNewChannel; u8 byNewChannel;
u8 byChannelSwitchCount; u8 byChannelSwitchCount;
struct iw_statistics wstats; /* wireless stats */
struct ieee80211_low_level_stats low_stats; struct ieee80211_low_level_stats low_stats;
}; };
......
...@@ -150,7 +150,6 @@ static int vnt_int_report_rate(struct vnt_private *priv, u8 pkt_no, u8 tsr) ...@@ -150,7 +150,6 @@ static int vnt_int_report_rate(struct vnt_private *priv, u8 pkt_no, u8 tsr)
void INTnsProcessData(struct vnt_private *priv) void INTnsProcessData(struct vnt_private *priv)
{ {
struct vnt_interrupt_data *int_data; struct vnt_interrupt_data *int_data;
struct net_device_stats *stats = &priv->stats;
struct ieee80211_low_level_stats *low_stats = &priv->low_stats; struct ieee80211_low_level_stats *low_stats = &priv->low_stats;
DBG_PRT(MSG_LEVEL_DEBUG, KERN_INFO"---->s_nsInterruptProcessData\n"); DBG_PRT(MSG_LEVEL_DEBUG, KERN_INFO"---->s_nsInterruptProcessData\n");
...@@ -196,7 +195,4 @@ void INTnsProcessData(struct vnt_private *priv) ...@@ -196,7 +195,4 @@ void INTnsProcessData(struct vnt_private *priv)
} }
priv->int_buf.in_use = false; priv->int_buf.in_use = false;
stats->tx_errors = priv->wstats.discard.retries;
stats->tx_dropped = priv->wstats.discard.retries;
} }
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