diff options
author | Alexander Beregalov <a.beregalov@gmail.com> | 2009-05-25 04:53:53 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2009-05-25 04:53:53 -0400 |
commit | e3804cbebb67887879102925961d41b503f7fbe3 (patch) | |
tree | 0c2290608f511bf97978767e159121e3009c56e3 /net/802 | |
parent | c649c0e31d5736a4b7c5c3454182091dda4bbe62 (diff) |
net: remove COMPAT_NET_DEV_OPS
All drivers are already converted to new net_device_ops API
and nobody uses old API anymore.
Signed-off-by: Alexander Beregalov <a.beregalov@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/802')
-rw-r--r-- | net/802/fddi.c | 4 | ||||
-rw-r--r-- | net/802/hippi.c | 5 |
2 files changed, 0 insertions, 9 deletions
diff --git a/net/802/fddi.c b/net/802/fddi.c index 539e6064e6d4..3ef0ab0a543a 100644 --- a/net/802/fddi.c +++ b/net/802/fddi.c | |||
@@ -185,10 +185,6 @@ static const struct header_ops fddi_header_ops = { | |||
185 | static void fddi_setup(struct net_device *dev) | 185 | static void fddi_setup(struct net_device *dev) |
186 | { | 186 | { |
187 | dev->header_ops = &fddi_header_ops; | 187 | dev->header_ops = &fddi_header_ops; |
188 | #ifdef CONFIG_COMPAT_NET_DEV_OPS | ||
189 | dev->change_mtu = fddi_change_mtu, | ||
190 | #endif | ||
191 | |||
192 | dev->type = ARPHRD_FDDI; | 188 | dev->type = ARPHRD_FDDI; |
193 | dev->hard_header_len = FDDI_K_SNAP_HLEN+3; /* Assume 802.2 SNAP hdr len + 3 pad bytes */ | 189 | dev->hard_header_len = FDDI_K_SNAP_HLEN+3; /* Assume 802.2 SNAP hdr len + 3 pad bytes */ |
194 | dev->mtu = FDDI_K_SNAP_DLEN; /* Assume max payload of 802.2 SNAP frame */ | 190 | dev->mtu = FDDI_K_SNAP_DLEN; /* Assume max payload of 802.2 SNAP frame */ |
diff --git a/net/802/hippi.c b/net/802/hippi.c index 313b9ebf92ee..cd3e8e929529 100644 --- a/net/802/hippi.c +++ b/net/802/hippi.c | |||
@@ -193,11 +193,6 @@ static const struct header_ops hippi_header_ops = { | |||
193 | 193 | ||
194 | static void hippi_setup(struct net_device *dev) | 194 | static void hippi_setup(struct net_device *dev) |
195 | { | 195 | { |
196 | #ifdef CONFIG_COMPAT_NET_DEV_OPS | ||
197 | dev->change_mtu = hippi_change_mtu; | ||
198 | dev->set_mac_address = hippi_mac_addr; | ||
199 | dev->neigh_setup = hippi_neigh_setup_dev; | ||
200 | #endif | ||
201 | dev->header_ops = &hippi_header_ops; | 196 | dev->header_ops = &hippi_header_ops; |
202 | 197 | ||
203 | /* | 198 | /* |