Skip to content

Commit

Permalink
tipc: Kill tipc_get_mode() completely.
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
David S. Miller committed Oct 18, 2010
1 parent 7c1a96a commit 724829b
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions net/tipc/core.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down Expand Up @@ -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);
Expand Down

0 comments on commit 724829b

Please sign in to comment.