diff options
| author | David S. Miller <davem@davemloft.net> | 2008-07-06 00:03:31 -0400 |
|---|---|---|
| committer | David S. Miller <davem@davemloft.net> | 2008-07-06 00:03:31 -0400 |
| commit | 4ce2417bfb3c7b1c5ed449782f4d86bafd7f1b69 (patch) | |
| tree | 5f890cc41654e6381ff7d0264a83f2c79b7ea66c /include/linux | |
| parent | 32cb5b4e035e3d7b52f1e9de87920645a00e5234 (diff) | |
| parent | 055e5110ae0c0c1176a75b78d789294f2ff2f7af (diff) | |
Merge branch 'davem-next' of master.kernel.org:/pub/scm/linux/kernel/git/jgarzik/netdev-2.6
Diffstat (limited to 'include/linux')
| -rw-r--r-- | include/linux/hdlc.h | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/include/linux/hdlc.h b/include/linux/hdlc.h index 6115545a5b9c..c59769693bee 100644 --- a/include/linux/hdlc.h +++ b/include/linux/hdlc.h | |||
| @@ -45,7 +45,6 @@ struct hdlc_proto { | |||
| 45 | 45 | ||
| 46 | /* Pointed to by dev->priv */ | 46 | /* Pointed to by dev->priv */ |
| 47 | typedef struct hdlc_device { | 47 | typedef struct hdlc_device { |
| 48 | struct net_device_stats stats; | ||
| 49 | /* used by HDLC layer to take control over HDLC device from hw driver*/ | 48 | /* used by HDLC layer to take control over HDLC device from hw driver*/ |
| 50 | int (*attach)(struct net_device *dev, | 49 | int (*attach)(struct net_device *dev, |
| 51 | unsigned short encoding, unsigned short parity); | 50 | unsigned short encoding, unsigned short parity); |
| @@ -109,12 +108,6 @@ int attach_hdlc_protocol(struct net_device *dev, struct hdlc_proto *proto, | |||
| 109 | /* May be used by hardware driver to gain control over HDLC device */ | 108 | /* May be used by hardware driver to gain control over HDLC device */ |
| 110 | void detach_hdlc_protocol(struct net_device *dev); | 109 | void detach_hdlc_protocol(struct net_device *dev); |
| 111 | 110 | ||
| 112 | static __inline__ struct net_device_stats *hdlc_stats(struct net_device *dev) | ||
| 113 | { | ||
| 114 | return &dev_to_hdlc(dev)->stats; | ||
| 115 | } | ||
| 116 | |||
| 117 | |||
| 118 | static __inline__ __be16 hdlc_type_trans(struct sk_buff *skb, | 111 | static __inline__ __be16 hdlc_type_trans(struct sk_buff *skb, |
| 119 | struct net_device *dev) | 112 | struct net_device *dev) |
| 120 | { | 113 | { |
