summaryrefslogtreecommitdiff
path: root/net/tipc/core.h
diff options
context:
space:
mode:
authorRichard Alpe <richard.alpe@ericsson.com>2015-02-09 11:50:19 +0300
committerDavid S. Miller <davem@davemloft.net>2015-02-10 00:20:49 +0300
commit941787b82982b3f33ac398c8c00035ddd0f8c514 (patch)
tree4859799a8311ecd637e2a582600af1057a78e08b /net/tipc/core.h
parent22ae7cff509f3bb22caaa0003f67eeb93d338fed (diff)
downloadlinux-941787b82982b3f33ac398c8c00035ddd0f8c514.tar.xz
tipc: remove tipc_snprintf
tipc_snprintf() was heavily utilized by the old netlink API which no longer exists (now netlink compat). In this patch we swap tipc_snprintf() to the identical scnprintf() in the only remaining occurrence. Signed-off-by: Richard Alpe <richard.alpe@ericsson.com> Reviewed-by: Erik Hugne <erik.hugne@ericsson.com> Reviewed-by: Ying Xue <ying.xue@windriver.com> Reviewed-by: Jon Maloy <jon.maloy@ericsson.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/tipc/core.h')
-rw-r--r--net/tipc/core.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/net/tipc/core.h b/net/tipc/core.h
index 451c346fd3cf..3dc68c7a966d 100644
--- a/net/tipc/core.h
+++ b/net/tipc/core.h
@@ -70,8 +70,6 @@
#define TIPC_MOD_VER "2.0.0"
-int tipc_snprintf(char *buf, int len, const char *fmt, ...);
-
extern int tipc_net_id __read_mostly;
extern int sysctl_tipc_rmem[3] __read_mostly;
extern int sysctl_tipc_named_timeout __read_mostly;