summaryrefslogtreecommitdiffstats
path: root/net/tipc/user_reg.h
diff options
context:
space:
mode:
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 a05981fb9176..109eed0d6de3 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);