tipc: Kill tipc_get_mode() completely.
authorDavid S. Miller <davem@davemloft.net>
Mon, 18 Oct 2010 08:06:20 +0000 (01:06 -0700)
committerDavid S. Miller <davem@davemloft.net>
Mon, 18 Oct 2010 08:06:20 +0000 (01:06 -0700)
It's completely unused and exporting a static symbol
makes no sense and breaks the build.

Reported-by: Stephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/tipc/core.c

index c00530386e3b70c93695303fda6a5a2162015d1c..e2a09eb8efd459957c79475a24e9b5849537f90f 100644 (file)
@@ -96,11 +96,6 @@ int tipc_net_id;
 int tipc_remote_management;
 
 
-static int tipc_get_mode(void)
-{
-       return tipc_mode;
-}
-
 /**
  * tipc_buf_acquire - creates a TIPC message buffer
  * @size: message size (including TIPC header)
@@ -246,7 +241,6 @@ MODULE_VERSION(TIPC_MOD_VER);
 
 EXPORT_SYMBOL(tipc_attach);
 EXPORT_SYMBOL(tipc_detach);
-EXPORT_SYMBOL(tipc_get_mode);
 EXPORT_SYMBOL(tipc_createport);
 EXPORT_SYMBOL(tipc_deleteport);
 EXPORT_SYMBOL(tipc_ownidentity);