Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 724829b3 authored by David S. Miller's avatar David S. Miller
Browse files

tipc: Kill tipc_get_mode() completely.



It's completely unused and exporting a static symbol
makes no sense and breaks the build.

Reported-by: default avatarStephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 7c1a96a9
Loading
Loading
Loading
Loading
+0 −6
Original line number Diff line number Diff line
@@ -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);