diff options
author | David S. Miller <davem@davemloft.net> | 2010-10-18 04:06:20 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2010-10-18 04:06:20 -0400 |
commit | 724829b3ad8e8aeb0aec46de383d35bfa1ad3875 (patch) | |
tree | 30f9b1a488567c5123fd33f68fc76ff771ebc510 /net/tipc | |
parent | 7c1a96a9966efc2eb33d1021569c5ef6ae6f5ecb (diff) |
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 <sfr@canb.auug.org.au>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/tipc')
-rw-r--r-- | net/tipc/core.c | 6 |
1 files changed, 0 insertions, 6 deletions
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; | |||
96 | int tipc_remote_management; | 96 | int tipc_remote_management; |
97 | 97 | ||
98 | 98 | ||
99 | static int tipc_get_mode(void) | ||
100 | { | ||
101 | return tipc_mode; | ||
102 | } | ||
103 | |||
104 | /** | 99 | /** |
105 | * tipc_buf_acquire - creates a TIPC message buffer | 100 | * tipc_buf_acquire - creates a TIPC message buffer |
106 | * @size: message size (including TIPC header) | 101 | * @size: message size (including TIPC header) |
@@ -246,7 +241,6 @@ MODULE_VERSION(TIPC_MOD_VER); | |||
246 | 241 | ||
247 | EXPORT_SYMBOL(tipc_attach); | 242 | EXPORT_SYMBOL(tipc_attach); |
248 | EXPORT_SYMBOL(tipc_detach); | 243 | EXPORT_SYMBOL(tipc_detach); |
249 | EXPORT_SYMBOL(tipc_get_mode); | ||
250 | EXPORT_SYMBOL(tipc_createport); | 244 | EXPORT_SYMBOL(tipc_createport); |
251 | EXPORT_SYMBOL(tipc_deleteport); | 245 | EXPORT_SYMBOL(tipc_deleteport); |
252 | EXPORT_SYMBOL(tipc_ownidentity); | 246 | EXPORT_SYMBOL(tipc_ownidentity); |