summaryrefslogtreecommitdiffstats
path: root/net/tipc/core.h
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.h
parentdc1aed37d17b4fe4f28a74d804c065b877bc7bed (diff)
downloadop-kernel-dev-869dd4662f90514cb92b44a389e85c737b464e25.zip
op-kernel-dev-869dd4662f90514cb92b44a389e85c737b464e25.tar.gz
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.h')
-rw-r--r--net/tipc/core.h27
1 files changed, 0 insertions, 27 deletions
diff --git a/net/tipc/core.h b/net/tipc/core.h
index 4dcdb48..fd42e10 100644
--- a/net/tipc/core.h
+++ b/net/tipc/core.h
@@ -63,37 +63,10 @@
#define ULTRA_STRING_MAX_LEN 32768
struct tipc_msg; /* msg.h */
-struct print_buf; /* log.h */
-
-/*
- * TIPC system monitoring code
- */
-
-/*
- * TIPC's print buffer subsystem supports the following print buffers:
- *
- * TIPC_NULL : null buffer (i.e. print nowhere)
- * TIPC_CONS : system console
- * TIPC_LOG : TIPC log buffer
- * &buf : user-defined buffer (struct print_buf *)
- *
- * Note: TIPC_LOG is configured to echo its output to the system console;
- * user-defined buffers can be configured to do the same thing.
- */
-extern struct print_buf *const TIPC_NULL;
-extern struct print_buf *const TIPC_CONS;
-extern struct print_buf *const TIPC_LOG;
int tipc_snprintf(char *buf, int len, const char *fmt, ...);
/*
- * TIPC_OUTPUT is the destination print buffer for system messages.
- */
-#ifndef TIPC_OUTPUT
-#define TIPC_OUTPUT TIPC_LOG
-#endif
-
-/*
* TIPC-specific error codes
*/
#define ELINKCONG EAGAIN /* link congestion <=> resource unavailable */
OpenPOWER on IntegriCloud