From c81eb7f2446ad21be044121f2b7a500a7c506526 Mon Sep 17 00:00:00 2001 From: "David S. Miller" Date: Thu, 4 Sep 2003 13:40:24 -0700 Subject: [PATCH] [NET]: Kill more verbose init msgs and unused RTNL_DEBUG define. --- include/linux/rtnetlink.h | 3 --- net/core/dv.c | 1 - net/core/rtnetlink.c | 3 --- net/ipv4/ipmr.c | 1 - 4 files changed, 8 deletions(-) diff --git a/include/linux/rtnetlink.h b/include/linux/rtnetlink.h index 3e3a26916a125..fd8b35209ccc0 100644 --- a/include/linux/rtnetlink.h +++ b/include/linux/rtnetlink.h @@ -3,9 +3,6 @@ #include -#define RTNL_DEBUG 1 - - /**** * Routing/neighbour discovery messages. ****/ diff --git a/net/core/dv.c b/net/core/dv.c index 62352d7c9bcc4..e7de41f94f9c3 100644 --- a/net/core/dv.c +++ b/net/core/dv.c @@ -40,7 +40,6 @@ const char sysctl_divert_version[32]="0.46"; /* Current version */ static int __init dv_init(void) { - printk(KERN_INFO "NET4: Frame Diverter %s\n", sysctl_divert_version); return 0; } module_init(dv_init); diff --git a/net/core/rtnetlink.c b/net/core/rtnetlink.c index 4215e4a7dcd0d..444f07e51e278 100644 --- a/net/core/rtnetlink.c +++ b/net/core/rtnetlink.c @@ -559,9 +559,6 @@ struct notifier_block rtnetlink_dev_notifier = { void __init rtnetlink_init(void) { -#ifdef RTNL_DEBUG - printk("Initializing RT netlink socket\n"); -#endif rtnl = netlink_kernel_create(NETLINK_ROUTE, rtnetlink_rcv); if (rtnl == NULL) panic("rtnetlink_init: cannot initialize rtnetlink\n"); diff --git a/net/ipv4/ipmr.c b/net/ipv4/ipmr.c index 3f671efed9e6c..9f5a0485e0a7a 100644 --- a/net/ipv4/ipmr.c +++ b/net/ipv4/ipmr.c @@ -1744,7 +1744,6 @@ static struct inet_protocol pim_protocol = { void __init ip_mr_init(void) { - printk(KERN_INFO "Linux IP multicast router 0.06 plus PIM-SM\n"); mrt_cachep = kmem_cache_create("ip_mrt_cache", sizeof(struct mfc_cache), 0, SLAB_HWCACHE_ALIGN, -- 2.53.0