Dead code elimination in ip_conntrack_core.c
Subsystems (2)
PATCH 1/1 Dead code elimination in ip_conntrack_core.c
List members,
the following cosmetic patch removes dead code inip_conntrack_init() if CONFIG_SYSCTL is not defined. The patch applies against a plain 2.4.21-pre5-ac3 kernel.
Regards,
Stephane Ouellette
net/ipv4/netfilter/ip_conntrack_core.c +2 -0
@@ -1478,8 +1478,10 @@ ip_ct_attach = ip_conntrack_attach;return ret; +#ifdef CONFIG_SYSCTL err_free_ct_cachep:kmem_cache_destroy (ip_conntrack_cachep); +#endif /*CONFIG_SYSCTL*/ err_free_hash:vfree (ip_conntrack_hash); err_unreg_sockopt:
Quoted 5 lines · Stephane Ouellette
List members,
the following cosmetic patch removes dead code in
ip_conntrack_init()ifCONFIG_SYSCTLis not defined. The patch applies against a plain 2.4.21-pre5-ac3 kernel.
thanks, I'm including your patch into 'pending'
Quoted 2 lines
Regards,
Stephane Ouellette
Signature · 5 lines
- Harald Welte <[email protected]> http://www.netfilter.org/ ============================================================================ "Fragmentation is like classful addressing -- an interesting early architectural error that shows how much experimentation was going on while IP was being designed." -- Paul Vixie