Skip to content

Commit 724829b

Browse files
committed
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>
1 parent 7c1a96a commit 724829b

1 file changed

Lines changed: 0 additions & 6 deletions

File tree

‎net/tipc/core.c‎

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -96,11 +96,6 @@ int tipc_net_id;
9696
int tipc_remote_management;
9797

9898

99-
static int tipc_get_mode(void)
100-
{
101-
return tipc_mode;
102-
}
103-
10499
/**
105100
* tipc_buf_acquire - creates a TIPC message buffer
106101
* @size: message size (including TIPC header)
@@ -246,7 +241,6 @@ MODULE_VERSION(TIPC_MOD_VER);
246241

247242
EXPORT_SYMBOL(tipc_attach);
248243
EXPORT_SYMBOL(tipc_detach);
249-
EXPORT_SYMBOL(tipc_get_mode);
250244
EXPORT_SYMBOL(tipc_createport);
251245
EXPORT_SYMBOL(tipc_deleteport);
252246
EXPORT_SYMBOL(tipc_ownidentity);

0 commit comments

Comments
 (0)