diff options
Diffstat (limited to 'net/tipc/port.h')
-rw-r--r-- | net/tipc/port.h | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/net/tipc/port.h b/net/tipc/port.h index 301e1bd840d1..98cbec9c4532 100644 --- a/net/tipc/port.h +++ b/net/tipc/port.h | |||
@@ -81,7 +81,6 @@ typedef void (*tipc_continue_event) (void *usr_handle, u32 portref); | |||
81 | * @ref: object reference to associated TIPC port | 81 | * @ref: object reference to associated TIPC port |
82 | * <various callback routines> | 82 | * <various callback routines> |
83 | */ | 83 | */ |
84 | |||
85 | struct user_port { | 84 | struct user_port { |
86 | void *usr_handle; | 85 | void *usr_handle; |
87 | u32 ref; | 86 | u32 ref; |
@@ -236,7 +235,6 @@ void tipc_port_reinit(void); | |||
236 | /** | 235 | /** |
237 | * tipc_port_lock - lock port instance referred to and return its pointer | 236 | * tipc_port_lock - lock port instance referred to and return its pointer |
238 | */ | 237 | */ |
239 | |||
240 | static inline struct tipc_port *tipc_port_lock(u32 ref) | 238 | static inline struct tipc_port *tipc_port_lock(u32 ref) |
241 | { | 239 | { |
242 | return (struct tipc_port *)tipc_ref_lock(ref); | 240 | return (struct tipc_port *)tipc_ref_lock(ref); |
@@ -247,7 +245,6 @@ static inline struct tipc_port *tipc_port_lock(u32 ref) | |||
247 | * | 245 | * |
248 | * Can use pointer instead of tipc_ref_unlock() since port is already locked. | 246 | * Can use pointer instead of tipc_ref_unlock() since port is already locked. |
249 | */ | 247 | */ |
250 | |||
251 | static inline void tipc_port_unlock(struct tipc_port *p_ptr) | 248 | static inline void tipc_port_unlock(struct tipc_port *p_ptr) |
252 | { | 249 | { |
253 | spin_unlock_bh(p_ptr->lock); | 250 | spin_unlock_bh(p_ptr->lock); |