diff options
author | Cong Wang <xiyou.wangcong@gmail.com> | 2013-02-19 02:47:05 (GMT) |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2013-02-19 18:18:13 (GMT) |
commit | cd0615746ba0f6643fb984345ae6ee0b73404ca6 (patch) | |
tree | f55557971fec403884c37cf28326c28c7670b4cd /include | |
parent | 082c7ca42b0bf33aa3fb5eeb619dfbcfaa20d216 (diff) | |
download | linux-fsl-qoriq-cd0615746ba0f6643fb984345ae6ee0b73404ca6.tar.xz |
net: fix a build failure when !CONFIG_PROC_FS
When !CONFIG_PROC_FS dev_mcast_init() is not defined,
actually we can just merge dev_mcast_init() into
dev_proc_init().
Reported-by: Gao feng <gaofeng@cn.fujitsu.com>
Cc: Gao feng <gaofeng@cn.fujitsu.com>
Cc: "David S. Miller" <davem@davemloft.net>
Signed-off-by: Cong Wang <xiyou.wangcong@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/netdevice.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/include/linux/netdevice.h b/include/linux/netdevice.h index f111b4f..b3d00fa 100644 --- a/include/linux/netdevice.h +++ b/include/linux/netdevice.h @@ -2646,7 +2646,6 @@ extern void netdev_notify_peers(struct net_device *dev); extern void netdev_features_change(struct net_device *dev); /* Load a device via the kmod */ extern void dev_load(struct net *net, const char *name); -extern void dev_mcast_init(void); extern struct rtnl_link_stats64 *dev_get_stats(struct net_device *dev, struct rtnl_link_stats64 *storage); extern void netdev_stats_to_stats64(struct rtnl_link_stats64 *stats64, |