diff options
Diffstat (limited to 'net/tipc/socket.h')
-rw-r--r-- | net/tipc/socket.h | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/net/tipc/socket.h b/net/tipc/socket.h index 43b75b3ceced..1405633362f5 100644 --- a/net/tipc/socket.h +++ b/net/tipc/socket.h | |||
@@ -58,7 +58,7 @@ struct tipc_sock { | |||
58 | struct tipc_port port; | 58 | struct tipc_port port; |
59 | unsigned int conn_timeout; | 59 | unsigned int conn_timeout; |
60 | atomic_t dupl_rcvcnt; | 60 | atomic_t dupl_rcvcnt; |
61 | int link_cong; | 61 | bool link_cong; |
62 | uint sent_unacked; | 62 | uint sent_unacked; |
63 | uint rcv_unacked; | 63 | uint rcv_unacked; |
64 | }; | 64 | }; |
@@ -73,11 +73,6 @@ static inline struct tipc_sock *tipc_port_to_sock(const struct tipc_port *port) | |||
73 | return container_of(port, struct tipc_sock, port); | 73 | return container_of(port, struct tipc_sock, port); |
74 | } | 74 | } |
75 | 75 | ||
76 | static inline void tipc_sock_wakeup(struct tipc_sock *tsk) | ||
77 | { | ||
78 | tsk->sk.sk_write_space(&tsk->sk); | ||
79 | } | ||
80 | |||
81 | static inline int tipc_sk_conn_cong(struct tipc_sock *tsk) | 76 | static inline int tipc_sk_conn_cong(struct tipc_sock *tsk) |
82 | { | 77 | { |
83 | return tsk->sent_unacked >= TIPC_FLOWCTRL_WIN; | 78 | return tsk->sent_unacked >= TIPC_FLOWCTRL_WIN; |