diff options
| author | 2013-02-19 02:47:05 +0000 | |
|---|---|---|
| committer | 2013-02-19 13:18:13 -0500 | |
| commit | cd0615746ba0f6643fb984345ae6ee0b73404ca6 (patch) | |
| tree | f55557971fec403884c37cf28326c28c7670b4cd /net/core/dev.c | |
| parent | net: ipv4: fix waring -Wunused-variable (diff) | |
| download | linux-dev-cd0615746ba0f6643fb984345ae6ee0b73404ca6.tar.xz linux-dev-cd0615746ba0f6643fb984345ae6ee0b73404ca6.zip | |
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 'net/core/dev.c')
| -rw-r--r-- | net/core/dev.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/net/core/dev.c b/net/core/dev.c index 8d9ddb09f208..17bc535115d3 100644 --- a/net/core/dev.c +++ b/net/core/dev.c @@ -6260,7 +6260,6 @@ static int __init net_dev_init(void) hotcpu_notifier(dev_cpu_callback, 0); dst_init(); - dev_mcast_init(); rc = 0; out: return rc; |
