summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStephen Rothwell <sfr@canb.auug.org.au>2008-08-27 14:45:37 +1000
committerStephen Rothwell <sfr@canb.auug.org.au>2008-09-02 18:09:08 +1000
commit4a7af4eb31008eedbdb8bf831338c749d15463dd (patch)
treed7ad09e6f4868fbe5f0e1fd38ec210aa172b03a6
parent6245a68f0eb835a8d246ed763eae424de5eb46d3 (diff)
rr: build fix for remove CONFIG_KMOD from net
Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
-rw-r--r--include/linux/netdevice.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/include/linux/netdevice.h b/include/linux/netdevice.h
index b2157443aaf6..2254eb800eb4 100644
--- a/include/linux/netdevice.h
+++ b/include/linux/netdevice.h
@@ -1639,11 +1639,7 @@ extern int dev_set_allmulti(struct net_device *dev, int inc);
extern void netdev_state_change(struct net_device *dev);
extern void netdev_bonding_change(struct net_device *dev);
extern void netdev_features_change(struct net_device *dev);
-#ifdef CONFIG_MODULES
extern void dev_load(struct net *net, const char *name);
-#else
-static inline void dev_load(struct net *net, const char *name) {};
-#endif
extern void dev_mcast_init(void);
extern int netdev_max_backlog;
extern int weight_p;