diff options
author | Stephen Hemminger <shemminger@vyatta.com> | 2009-01-06 13:40:43 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2009-01-06 13:40:43 -0500 |
commit | af0490810cfa159b4894ddecfc5eb2e4432fb976 (patch) | |
tree | 7c5074c11633b5c9cfa1489859d015974be5fe32 /drivers/net/irda/mcs7780.h | |
parent | 46377bb311a7682f6240c954c48e81a1e4f51e66 (diff) |
irda: convert to internal stats
Convert IRDA drivers to use already existing net_device_stats structure
in network device. This is a pre-cursor to conversion to net_device
ops. Compile tested only.
Signed-off-by: Stephen Hemminger <shemminger@vyatta.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/irda/mcs7780.h')
-rw-r--r-- | drivers/net/irda/mcs7780.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/net/irda/mcs7780.h b/drivers/net/irda/mcs7780.h index b18148cee638..6bdc621e67c6 100644 --- a/drivers/net/irda/mcs7780.h +++ b/drivers/net/irda/mcs7780.h | |||
@@ -104,7 +104,6 @@ struct mcs_cb { | |||
104 | struct usb_device *usbdev; /* init: probe_irda */ | 104 | struct usb_device *usbdev; /* init: probe_irda */ |
105 | struct net_device *netdev; /* network layer */ | 105 | struct net_device *netdev; /* network layer */ |
106 | struct irlap_cb *irlap; /* The link layer we are binded to */ | 106 | struct irlap_cb *irlap; /* The link layer we are binded to */ |
107 | struct net_device_stats stats; /* network statistics */ | ||
108 | struct qos_info qos; | 107 | struct qos_info qos; |
109 | unsigned int speed; /* Current speed */ | 108 | unsigned int speed; /* Current speed */ |
110 | unsigned int new_speed; /* new speed */ | 109 | unsigned int new_speed; /* new speed */ |
@@ -154,7 +153,6 @@ static int mcs_speed_change(struct mcs_cb *mcs); | |||
154 | static int mcs_net_ioctl(struct net_device *netdev, struct ifreq *rq, int cmd); | 153 | static int mcs_net_ioctl(struct net_device *netdev, struct ifreq *rq, int cmd); |
155 | static int mcs_net_close(struct net_device *netdev); | 154 | static int mcs_net_close(struct net_device *netdev); |
156 | static int mcs_net_open(struct net_device *netdev); | 155 | static int mcs_net_open(struct net_device *netdev); |
157 | static struct net_device_stats *mcs_net_get_stats(struct net_device *netdev); | ||
158 | 156 | ||
159 | static void mcs_receive_irq(struct urb *urb); | 157 | static void mcs_receive_irq(struct urb *urb); |
160 | static void mcs_send_irq(struct urb *urb); | 158 | static void mcs_send_irq(struct urb *urb); |