summaryrefslogtreecommitdiffstats
path: root/net/tipc/subscr.c
diff options
context:
space:
mode:
authorstephen hemminger <shemminger@vyatta.com>2010-10-13 13:20:35 +0000
committerDavid S. Miller <davem@davemloft.net>2010-10-16 11:13:24 -0700
commit31e3c3f6f1f9b154981a0e6620df700463db30ee (patch)
tree5ed74529c528cc9a09d6f8c9a5083aaf4849b62e /net/tipc/subscr.c
parent15419227f773b6c1b5fae44bde876078a9204caa (diff)
downloadop-kernel-dev-31e3c3f6f1f9b154981a0e6620df700463db30ee.zip
op-kernel-dev-31e3c3f6f1f9b154981a0e6620df700463db30ee.tar.gz
tipc: cleanup function namespace
Do some cleanups of TIPC based on make namespacecheck 1. Don't export unused symbols 2. Eliminate dead code 3. Make functions and variables local 4. Rename buf_acquire to tipc_buf_acquire since it is used in several files Compile tested only. This make break out of tree kernel modules that depend on TIPC routines. Signed-off-by: Stephen Hemminger <shemminger@vyatta.com> Acked-by: Jon Maloy <jon.maloy@ericsson.com> Acked-by: Paul Gortmaker <paul.gortmaker@windriver.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/tipc/subscr.c')
-rw-r--r--net/tipc/subscr.c9
1 files changed, 0 insertions, 9 deletions
diff --git a/net/tipc/subscr.c b/net/tipc/subscr.c
index 1a5b9a6..18813ac 100644
--- a/net/tipc/subscr.c
+++ b/net/tipc/subscr.c
@@ -598,12 +598,3 @@ void tipc_subscr_stop(void)
topsrv.user_ref = 0;
}
}
-
-
-int tipc_ispublished(struct tipc_name const *name)
-{
- u32 domain = 0;
-
- return tipc_nametbl_translate(name->type, name->instance, &domain) != 0;
-}
-
OpenPOWER on IntegriCloud