aboutsummaryrefslogtreecommitdiffstats
path: root/net/tipc
diff options
context:
space:
mode:
authorZhenbo Gao <zhenbo.gao@windriver.com>2018-09-03 02:08:40 -0400
committerDavid S. Miller <davem@davemloft.net>2018-09-04 00:43:42 -0400
commit05a6843c9281807c51e44d76e2b8bf3e3a678a1c (patch)
tree1a33c2e0769a9bf7cbf5ece57f6334ca84ae9b52 /net/tipc
parent35878618c92db85c4e077ada6c2c18ac79ccadb8 (diff)
tipc: correct structure parameter comments for topsrv
Remove the following obsolete parameter comments of tipc_topsrv struct: @rcvbuf_cache @tipc_conn_new @tipc_conn_release @tipc_conn_recvmsg @imp @type Add the comments for the missing parameters below of tipc_topsrv struct: @awork @listener Remove the unused or duplicated parameter comments of tipc_conn struct: @outqueue_lock @rx_action Signed-off-by: Zhenbo Gao <zhenbo.gao@windriver.com> Reviewed-by: Ying Xue <ying.xue@windriver.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/tipc')
-rw-r--r--net/tipc/topsrv.c10
1 files changed, 2 insertions, 8 deletions
diff --git a/net/tipc/topsrv.c b/net/tipc/topsrv.c
index c8e34ef22c30..c782b352d928 100644
--- a/net/tipc/topsrv.c
+++ b/net/tipc/topsrv.c
@@ -57,16 +57,12 @@
57 * @idr_lock: protect the connection identifier set 57 * @idr_lock: protect the connection identifier set
58 * @idr_in_use: amount of allocated identifier entry 58 * @idr_in_use: amount of allocated identifier entry
59 * @net: network namspace instance 59 * @net: network namspace instance
60 * @rcvbuf_cache: memory cache of server receive buffer 60 * @awork: accept work item
61 * @rcv_wq: receive workqueue 61 * @rcv_wq: receive workqueue
62 * @send_wq: send workqueue 62 * @send_wq: send workqueue
63 * @max_rcvbuf_size: maximum permitted receive message length 63 * @max_rcvbuf_size: maximum permitted receive message length
64 * @tipc_conn_new: callback will be called when new connection is incoming 64 * @listener: topsrv listener socket
65 * @tipc_conn_release: callback will be called before releasing the connection
66 * @tipc_conn_recvmsg: callback will be called when message arrives
67 * @name: server name 65 * @name: server name
68 * @imp: message importance
69 * @type: socket type
70 */ 66 */
71struct tipc_topsrv { 67struct tipc_topsrv {
72 struct idr conn_idr; 68 struct idr conn_idr;
@@ -90,9 +86,7 @@ struct tipc_topsrv {
90 * @server: pointer to connected server 86 * @server: pointer to connected server
91 * @sub_list: lsit to all pertaing subscriptions 87 * @sub_list: lsit to all pertaing subscriptions
92 * @sub_lock: lock protecting the subscription list 88 * @sub_lock: lock protecting the subscription list
93 * @outqueue_lock: control access to the outqueue
94 * @rwork: receive work item 89 * @rwork: receive work item
95 * @rx_action: what to do when connection socket is active
96 * @outqueue: pointer to first outbound message in queue 90 * @outqueue: pointer to first outbound message in queue
97 * @outqueue_lock: control access to the outqueue 91 * @outqueue_lock: control access to the outqueue
98 * @swork: send work item 92 * @swork: send work item