aboutsummaryrefslogtreecommitdiffstats
path: root/net/tipc/core.c
diff options
context:
space:
mode:
authorErik Hugne <erik.hugne@ericsson.com>2012-06-29 00:50:24 -0400
committerPaul Gortmaker <paul.gortmaker@windriver.com>2012-07-13 19:34:43 -0400
commit869dd4662f90514cb92b44a389e85c737b464e25 (patch)
tree866ef81219668384e80d756732d2f2023513ef0e /net/tipc/core.c
parentdc1aed37d17b4fe4f28a74d804c065b877bc7bed (diff)
tipc: remove print_buf and deprecated log buffer code
The internal log buffer handling functions can now safely be removed since there is no code using it anymore. Requests to interact with the internal tipc log buffer over netlink (in config.c) will report 'obsolete command'. This represents the final removal of any references to a struct print_buf, and the removal of the struct itself. We also get rid of a TIPC specific Kconfig in the process. Finally, log.h is removed since it is not needed anymore. Signed-off-by: Erik Hugne <erik.hugne@ericsson.com> Signed-off-by: Jon Maloy <jon.maloy@ericsson.com> Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
Diffstat (limited to 'net/tipc/core.c')
-rw-r--r--net/tipc/core.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/net/tipc/core.c b/net/tipc/core.c
index 3689cb4067c8..6586eac6a50e 100644
--- a/net/tipc/core.c
+++ b/net/tipc/core.c
@@ -46,9 +46,6 @@
46#define CONFIG_TIPC_PORTS 8191 46#define CONFIG_TIPC_PORTS 8191
47#endif 47#endif
48 48
49#ifndef CONFIG_TIPC_LOG
50#define CONFIG_TIPC_LOG 0
51#endif
52 49
53/* global variables used by multiple sub-systems within TIPC */ 50/* global variables used by multiple sub-systems within TIPC */
54int tipc_random; 51int tipc_random;
@@ -124,7 +121,6 @@ static void tipc_core_stop(void)
124 tipc_nametbl_stop(); 121 tipc_nametbl_stop();
125 tipc_ref_table_stop(); 122 tipc_ref_table_stop();
126 tipc_socket_stop(); 123 tipc_socket_stop();
127 tipc_log_resize(0);
128} 124}
129 125
130/** 126/**
@@ -160,9 +156,6 @@ static int __init tipc_init(void)
160{ 156{
161 int res; 157 int res;
162 158
163 if (tipc_log_resize(CONFIG_TIPC_LOG) != 0)
164 pr_warn("Unable to create log buffer\n");
165
166 pr_info("Activated (version " TIPC_MOD_VER ")\n"); 159 pr_info("Activated (version " TIPC_MOD_VER ")\n");
167 160
168 tipc_own_addr = 0; 161 tipc_own_addr = 0;