Skip to content

Commit 45248f2

Browse files
Jonathan Corbetdavem330
authored andcommitted
tipc: Remove some excess struct member documentation
Remove documentation for nonexistent struct members, addressing these warnings: ./net/tipc/link.c:228: warning: Excess struct member 'media_addr' description in 'tipc_link' ./net/tipc/link.c:228: warning: Excess struct member 'timer' description in 'tipc_link' ./net/tipc/link.c:228: warning: Excess struct member 'refcnt' description in 'tipc_link' ./net/tipc/link.c:228: warning: Excess struct member 'proto_msg' description in 'tipc_link' ./net/tipc/link.c:228: warning: Excess struct member 'pmsg' description in 'tipc_link' ./net/tipc/link.c:228: warning: Excess struct member 'backlog_limit' description in 'tipc_link' ./net/tipc/link.c:228: warning: Excess struct member 'exp_msg_count' description in 'tipc_link' ./net/tipc/link.c:228: warning: Excess struct member 'reset_rcv_checkpt' description in 'tipc_link' ./net/tipc/link.c:228: warning: Excess struct member 'transmitq' description in 'tipc_link' ./net/tipc/link.c:228: warning: Excess struct member 'snt_nxt' description in 'tipc_link' ./net/tipc/link.c:228: warning: Excess struct member 'deferred_queue' description in 'tipc_link' ./net/tipc/link.c:228: warning: Excess struct member 'unacked_window' description in 'tipc_link' ./net/tipc/link.c:228: warning: Excess struct member 'next_out' description in 'tipc_link' ./net/tipc/link.c:228: warning: Excess struct member 'long_msg_seq_no' description in 'tipc_link' ./net/tipc/link.c:228: warning: Excess struct member 'bc_rcvr' description in 'tipc_link' Signed-off-by: Jonathan Corbet <[email protected]> Reviewed-by: Randy Dunlap <[email protected]> Signed-off-by: David S. Miller <[email protected]>
1 parent dcc3e46 commit 45248f2

File tree

1 file changed

+0
-15
lines changed

1 file changed

+0
-15
lines changed

net/tipc/link.c

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -82,10 +82,7 @@ struct tipc_stats {
8282
* struct tipc_link - TIPC link data structure
8383
* @addr: network address of link's peer node
8484
* @name: link name character string
85-
* @media_addr: media address to use when sending messages over link
86-
* @timer: link timer
8785
* @net: pointer to namespace struct
88-
* @refcnt: reference counter for permanent references (owner node & timer)
8986
* @peer_session: link session # being used by peer end of link
9087
* @peer_bearer_id: bearer id used by link's peer endpoint
9188
* @bearer_id: local bearer id used by link
@@ -94,31 +91,19 @@ struct tipc_stats {
9491
* @state: current state of link FSM
9592
* @peer_caps: bitmap describing capabilities of peer node
9693
* @silent_intv_cnt: # of timer intervals without any reception from peer
97-
* @proto_msg: template for control messages generated by link
98-
* @pmsg: convenience pointer to "proto_msg" field
9994
* @priority: current link priority
10095
* @net_plane: current link network plane ('A' through 'H')
10196
* @mon_state: cookie with information needed by link monitor
102-
* @backlog_limit: backlog queue congestion thresholds (indexed by importance)
103-
* @exp_msg_count: # of tunnelled messages expected during link changeover
104-
* @reset_rcv_checkpt: seq # of last acknowledged message at time of link reset
10597
* @mtu: current maximum packet size for this link
10698
* @advertised_mtu: advertised own mtu when link is being established
107-
* @transmitq: queue for sent, non-acked messages
10899
* @backlogq: queue for messages waiting to be sent
109-
* @snt_nxt: next sequence number to use for outbound messages
110100
* @ackers: # of peers that needs to ack each packet before it can be released
111101
* @acked: # last packet acked by a certain peer. Used for broadcast.
112102
* @rcv_nxt: next sequence number to expect for inbound messages
113-
* @deferred_queue: deferred queue saved OOS b'cast message received from node
114-
* @unacked_window: # of inbound messages rx'd without ack'ing back to peer
115103
* @inputq: buffer queue for messages to be delivered upwards
116104
* @namedq: buffer queue for name table messages to be delivered upwards
117-
* @next_out: ptr to first unsent outbound message in queue
118105
* @wakeupq: linked list of wakeup msgs waiting for link congestion to abate
119-
* @long_msg_seq_no: next identifier to use for outbound fragmented messages
120106
* @reasm_buf: head of partially reassembled inbound message fragments
121-
* @bc_rcvr: marks that this is a broadcast receiver link
122107
* @stats: collects statistics regarding link activity
123108
* @session: session to be used by link
124109
* @snd_nxt_state: next send seq number

0 commit comments

Comments
 (0)