From: David S. Miller Date: Mon, 18 Oct 2010 08:06:20 +0000 (-0700) Subject: tipc: Kill tipc_get_mode() completely. X-Git-Tag: MMI-PSA29.97-13-9~21994^2~109 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=724829b3ad8e8aeb0aec46de383d35bfa1ad3875;p=GitHub%2FMotorolaMobilityLLC%2Fkernel-slsi.git tipc: Kill tipc_get_mode() completely. It's completely unused and exporting a static symbol makes no sense and breaks the build. Reported-by: Stephen Rothwell Signed-off-by: David S. Miller --- diff --git a/net/tipc/core.c b/net/tipc/core.c index c00530386e3b..e2a09eb8efd4 100644 --- a/net/tipc/core.c +++ b/net/tipc/core.c @@ -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);