staging: vt6656: device.h remove old wireless stats
authorMalcolm Priestley <tvboxspy@gmail.com>
Mon, 14 Jul 2014 18:43:05 +0000 (19:43 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 15 Jul 2014 14:50:51 +0000 (07:50 -0700)
These are dead nolonger of use.

Signed-off-by: Malcolm Priestley <tvboxspy@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/vt6656/device.h
drivers/staging/vt6656/int.c

index 436f10966d2c8f0c33d2db2f9a645d28b5b3bcb5..a8b6c5ffac2f48c65d2359aa22c859e4e9d8bb76 100644 (file)
@@ -289,7 +289,6 @@ struct vnt_private {
        u8 mac_hw;
        /* netdev */
        struct usb_device *usb;
-       struct net_device_stats stats;
 
        u64 tsf_time;
        u8 rx_rate;
@@ -437,7 +436,6 @@ struct vnt_private {
        u8 byNewChannel;
        u8 byChannelSwitchCount;
 
-       struct iw_statistics wstats; /* wireless stats */
        struct ieee80211_low_level_stats low_stats;
 };
 
index 15841b8a846a8eb75b45d0ee6e5fcc72f9f032f9..dad1543b98e15f081985420f9d7b2731d242ec9c 100644 (file)
@@ -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)
 {
        struct vnt_interrupt_data *int_data;
-       struct net_device_stats *stats = &priv->stats;
        struct ieee80211_low_level_stats *low_stats = &priv->low_stats;
 
        DBG_PRT(MSG_LEVEL_DEBUG, KERN_INFO"---->s_nsInterruptProcessData\n");
@@ -196,7 +195,4 @@ void INTnsProcessData(struct vnt_private *priv)
        }
 
        priv->int_buf.in_use = false;
-
-       stats->tx_errors = priv->wstats.discard.retries;
-       stats->tx_dropped = priv->wstats.discard.retries;
 }