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
@ -68,20 +68,6 @@ struct link_req {
|
||||
unsigned int timer_intv;
|
||||
};
|
||||
|
||||
|
||||
/*
|
||||
* disc_lost_link(): A link has lost contact
|
||||
*/
|
||||
|
||||
void tipc_disc_link_event(u32 addr, char *name, int up)
|
||||
{
|
||||
if (in_own_cluster(addr))
|
||||
return;
|
||||
/*
|
||||
* Code for inter cluster link setup here
|
||||
*/
|
||||
}
|
||||
|
||||
/**
|
||||
* tipc_disc_init_msg - initialize a link setup message
|
||||
* @type: message type (request or response)
|
||||
@ -95,7 +81,7 @@ static struct sk_buff *tipc_disc_init_msg(u32 type,
|
||||
u32 dest_domain,
|
||||
struct bearer *b_ptr)
|
||||
{
|
||||
struct sk_buff *buf = buf_acquire(DSC_H_SIZE);
|
||||
struct sk_buff *buf = tipc_buf_acquire(DSC_H_SIZE);
|
||||
struct tipc_msg *msg;
|
||||
|
||||
if (buf) {
|
||||
|
Reference in New Issue
Block a user