commit | 570329487437d4531eb806accdf98726923367ae | [log] [tgz] |
---|---|---|
author | Eric W. Biederman <ebiederm@xmission.com> | Mon Sep 21 13:02:49 2015 -0500 |
committer | Simon Horman <horms@verge.net.au> | Thu Sep 24 09:34:42 2015 +0900 |
tree | 93645296803b88209bb74d41f51c99af69a33dbe | |
parent | 7c08d78e6f122039ab98edf74c3c7b4b15c9fa1d [diff] |
ipvs: Wrap sysctl_cache_bypass and remove ifdefs in ip_vs_leave With sysctl_cache_bypass now a compile time constant the compiler can figue out that it can elimiate all of the code that depends on sysctl_cache_bypass being true. Also remove the duplicate computation of net previously necessitated by #ifdef CONFIG_SYSCTL Signed-off-by: "Eric W. Biederman" <ebiederm@xmission.com> Acked-by: Julian Anastasov <ja@ssi.bg> Signed-off-by: Simon Horman <horms@verge.net.au>