Commit aa9b5b02 authored by Jeff Garzik's avatar Jeff Garzik Committed by David S. Miller

[NET]: Kill netdev->accept_fastpath hook.

Never called AFAICS, and only assigned -- to a no-op stub -- in
one driver.
Signed-off-by: default avatarJeff Garzik <jgarzik@pobox.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 13711d88
...@@ -469,7 +469,6 @@ struct net_device ...@@ -469,7 +469,6 @@ struct net_device
int (*hard_header_parse)(struct sk_buff *skb, int (*hard_header_parse)(struct sk_buff *skb,
unsigned char *haddr); unsigned char *haddr);
int (*neigh_setup)(struct net_device *dev, struct neigh_parms *); int (*neigh_setup)(struct net_device *dev, struct neigh_parms *);
int (*accept_fastpath)(struct net_device *, struct dst_entry*);
#ifdef CONFIG_NETPOLL #ifdef CONFIG_NETPOLL
int netpoll_rx; int netpoll_rx;
#endif #endif
......
...@@ -83,11 +83,6 @@ static int br_change_mtu(struct net_device *dev, int new_mtu) ...@@ -83,11 +83,6 @@ static int br_change_mtu(struct net_device *dev, int new_mtu)
return 0; return 0;
} }
static int br_dev_accept_fastpath(struct net_device *dev, struct dst_entry *dst)
{
return -1;
}
void br_dev_setup(struct net_device *dev) void br_dev_setup(struct net_device *dev)
{ {
memset(dev->dev_addr, 0, ETH_ALEN); memset(dev->dev_addr, 0, ETH_ALEN);
...@@ -103,7 +98,6 @@ void br_dev_setup(struct net_device *dev) ...@@ -103,7 +98,6 @@ void br_dev_setup(struct net_device *dev)
dev->destructor = free_netdev; dev->destructor = free_netdev;
SET_MODULE_OWNER(dev); SET_MODULE_OWNER(dev);
dev->stop = br_dev_stop; dev->stop = br_dev_stop;
dev->accept_fastpath = br_dev_accept_fastpath;
dev->tx_queue_len = 0; dev->tx_queue_len = 0;
dev->set_mac_address = NULL; dev->set_mac_address = NULL;
dev->priv_flags = IFF_EBRIDGE; dev->priv_flags = IFF_EBRIDGE;
......
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