tipc: cleanup function namespace
authorstephen hemminger <shemminger@vyatta.com>
Wed, 13 Oct 2010 13:20:35 +0000 (13:20 +0000)
committerDavid S. Miller <davem@davemloft.net>
Sat, 16 Oct 2010 18:13:24 +0000 (11:13 -0700)
commit31e3c3f6f1f9b154981a0e6620df700463db30ee
tree5ed74529c528cc9a09d6f8c9a5083aaf4849b62e
parent15419227f773b6c1b5fae44bde876078a9204caa
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>
28 files changed:
include/net/tipc/tipc.h
include/net/tipc/tipc_port.h
net/tipc/addr.c
net/tipc/bcast.c
net/tipc/bcast.h
net/tipc/cluster.c
net/tipc/cluster.h
net/tipc/config.c
net/tipc/config.h
net/tipc/core.c
net/tipc/core.h
net/tipc/dbg.c
net/tipc/dbg.h
net/tipc/discover.c
net/tipc/discover.h
net/tipc/link.c
net/tipc/link.h
net/tipc/msg.c
net/tipc/name_distr.c
net/tipc/node.c
net/tipc/node.h
net/tipc/port.c
net/tipc/port.h
net/tipc/ref.c
net/tipc/ref.h
net/tipc/subscr.c
net/tipc/zone.c
net/tipc/zone.h