diff options
Diffstat (limited to 'net/tipc/port.h')
-rw-r--r-- | net/tipc/port.h | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/net/tipc/port.h b/net/tipc/port.h index 9b88531e5a61..0a632a6fc059 100644 --- a/net/tipc/port.h +++ b/net/tipc/port.h | |||
@@ -257,16 +257,6 @@ static inline struct tipc_port *tipc_port_deref(u32 ref) | |||
257 | return (struct tipc_port *)tipc_ref_deref(ref); | 257 | return (struct tipc_port *)tipc_ref_deref(ref); |
258 | } | 258 | } |
259 | 259 | ||
260 | static inline u32 tipc_peer_port(struct tipc_port *p_ptr) | ||
261 | { | ||
262 | return msg_destport(&p_ptr->phdr); | ||
263 | } | ||
264 | |||
265 | static inline u32 tipc_peer_node(struct tipc_port *p_ptr) | ||
266 | { | ||
267 | return msg_destnode(&p_ptr->phdr); | ||
268 | } | ||
269 | |||
270 | static inline int tipc_port_congested(struct tipc_port *p_ptr) | 260 | static inline int tipc_port_congested(struct tipc_port *p_ptr) |
271 | { | 261 | { |
272 | return (p_ptr->sent - p_ptr->acked) >= (TIPC_FLOW_CONTROL_WIN * 2); | 262 | return (p_ptr->sent - p_ptr->acked) >= (TIPC_FLOW_CONTROL_WIN * 2); |