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-Url: https://git.stricted.de/?a=commitdiff_plain;h=7cfd260910b881250cde76ba92ebe3cbf8493a8f;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.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 e9013d6c1f51..5fe9b8b41df3 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; }