From: Alexey Dobriyan Date: Sun, 1 May 2011 02:04:11 +0000 (+0000) Subject: ipv4: don't spam dmesg with "Using LC-trie" messages X-Git-Tag: v2.6.39-rc6~7^2~7 X-Git-Url: https://openfabrics.org/gitweb/?a=commitdiff_plain;h=7cfd260910b881250cde76ba92ebe3cbf8493a8f;p=~shefty%2Frdma-dev.git ipv4: don't spam dmesg with "Using LC-trie" messages fib_trie_table() is called during netns creation and Chromium uses clone(CLONE_NEWNET) to sandbox renderer process. Don't print anything. Signed-off-by: Alexey Dobriyan Signed-off-by: David S. Miller --- diff --git a/net/ipv4/fib_trie.c b/net/ipv4/fib_trie.c index e9013d6c1f5..5fe9b8b41df 100644 --- a/net/ipv4/fib_trie.c +++ b/net/ipv4/fib_trie.c @@ -1978,9 +1978,6 @@ struct fib_table *fib_trie_table(u32 id) t = (struct trie *) tb->tb_data; memset(t, 0, sizeof(*t)); - if (id == RT_TABLE_LOCAL) - pr_info("IPv4 FIB: Using LC-trie version %s\n", VERSION); - return tb; }