net: clean leftover of COMPAT_NET_DEV_OPS removal
From: Fernando Luis Vázquez Cao <hidden>
Date: 2013-03-14 02:59:06
From: Fernando Luis Vázquez Cao <hidden>
Date: 2013-03-14 02:59:06
COMPAT_NET_DEV_OPS was removed a while back and with it the definition of netdev_resync_ops() went away. Let's finish the clean-up. Signed-off-by: Fernando Luis Vazquez Cao <redacted> --- diff -urNp linux-3.9-rc2-orig/include/linux/netdevice.h linux-3.9-rc2/include/linux/netdevice.h
--- linux-3.9-rc2-orig/include/linux/netdevice.h 2013-03-11 08:54:19.000000000 +0900
+++ linux-3.9-rc2/include/linux/netdevice.h 2013-03-14 11:45:58.686715874 +0900@@ -1684,7 +1684,6 @@ extern int netdev_refcnt_read(const st extern void free_netdev(struct net_device *dev); extern void synchronize_net(void); extern int init_dummy_netdev(struct net_device *dev); -extern void netdev_resync_ops(struct net_device *dev); extern struct net_device *dev_get_by_index(struct net *net, int ifindex); extern struct net_device *__dev_get_by_index(struct net *net, int ifindex);