Commit ad5f4823 authored by Christoph Hellwig's avatar Christoph Hellwig Committed by David S. Miller

[NET]: Fix dev_load for !CONFIG_KMOD.

parent 865f31e0
...@@ -708,9 +708,6 @@ void netdev_state_change(struct net_device *dev) ...@@ -708,9 +708,6 @@ void netdev_state_change(struct net_device *dev)
} }
} }
#ifdef CONFIG_KMOD
/** /**
* dev_load - load a network module * dev_load - load a network module
* @name: name of interface * @name: name of interface
...@@ -726,12 +723,6 @@ void dev_load(const char *name) ...@@ -726,12 +723,6 @@ void dev_load(const char *name)
request_module("%s", name); request_module("%s", name);
} }
#else
static inline void dev_load(const char *unused){;}
#endif
static int default_rebuild_header(struct sk_buff *skb) static int default_rebuild_header(struct sk_buff *skb)
{ {
printk(KERN_DEBUG "%s: default_rebuild_header called -- BUG!\n", printk(KERN_DEBUG "%s: default_rebuild_header called -- BUG!\n",
......
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