summaryrefslogtreecommitdiff
path: root/net/tipc/user_reg.h
diff options
context:
space:
mode:
authorAllan Stephens <Allan.Stephens@windriver.com>2010-11-30 12:00:58 (GMT)
committerDavid S. Miller <davem@davemloft.net>2010-12-02 21:34:04 (GMT)
commita5c2af9922a94a875c5f4b2dcd357a1c399b7ea6 (patch)
treee88b61206f57ccca821f7dd479d24b39279946e3 /net/tipc/user_reg.h
parent528c771e87c3fa661bc6983b5bf0ba464d9f7c3a (diff)
downloadlinux-fsl-qoriq-a5c2af9922a94a875c5f4b2dcd357a1c399b7ea6.tar.xz
tipc: Remove support for TIPC mode change callback
Eliminates support for the callback routine invoked when TIPC changes its mode of operation from inactive to standalone or from standalone to networked. This callback was part of TIPC's obsolete native API and is not used by TIPC internally. Signed-off-by: Allan Stephens <Allan.Stephens@windriver.com> Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/tipc/user_reg.h')
-rw-r--r--net/tipc/user_reg.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/net/tipc/user_reg.h b/net/tipc/user_reg.h
index a05981f..109eed0 100644
--- a/net/tipc/user_reg.h
+++ b/net/tipc/user_reg.h
@@ -42,9 +42,7 @@
int tipc_reg_start(void);
void tipc_reg_stop(void);
-typedef void (*tipc_mode_event)(void *usr_handle, int mode, u32 addr);
-
-int tipc_attach(unsigned int *userref, tipc_mode_event, void *usr_handle);
+int tipc_attach(unsigned int *userref);
void tipc_detach(unsigned int userref);
int tipc_reg_add_port(struct user_port *up_ptr);