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>
This commit is contained in:
committed by
David S. Miller
parent
15419227f7
commit
31e3c3f6f1
@ -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;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user