aboutsummaryrefslogtreecommitdiffstats
path: root/net/tipc/link.h
diff options
context:
space:
mode:
authorAllan Stephens <Allan.Stephens@windriver.com>2010-12-31 13:59:27 -0500
committerDavid S. Miller <davem@davemloft.net>2011-01-01 16:57:53 -0500
commit8d64a5ba58157dedc61f3f1f51e1c5d66f32a484 (patch)
tree2bfd8a02b5da343cd24eafb95197a426aa94dd45 /net/tipc/link.h
parent7ced6890bf81d311ab2ea846f92d5f3d0951c08c (diff)
tipc: Prune down link-specific debugging code
Eliminates most link-specific debugging code in TIPC, which is now largely unnecessary. All calls to the link-specific debugging macros have been removed, as are the macros themselves; in addition, the optional allocation of print buffers to hold debugging information for each link endpoint has been removed. The ability for TIPC to print out helpful diagnostic information when link retransmit failures occur has been retained for the time being, as an aid in tracking down the cause of such failures. Signed-off-by: Allan Stephens <Allan.Stephens@windriver.com> Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/tipc/link.h')
-rw-r--r--net/tipc/link.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/net/tipc/link.h b/net/tipc/link.h
index eeb0c015dba9..eca19c247b79 100644
--- a/net/tipc/link.h
+++ b/net/tipc/link.h
@@ -107,7 +107,6 @@
107 * @long_msg_seq_no: next identifier to use for outbound fragmented messages 107 * @long_msg_seq_no: next identifier to use for outbound fragmented messages
108 * @defragm_buf: list of partially reassembled inbound message fragments 108 * @defragm_buf: list of partially reassembled inbound message fragments
109 * @stats: collects statistics regarding link activity 109 * @stats: collects statistics regarding link activity
110 * @print_buf: print buffer used to log link activity
111 */ 110 */
112 111
113struct link { 112struct link {
@@ -210,8 +209,6 @@ struct link {
210 u32 msg_lengths_total; 209 u32 msg_lengths_total;
211 u32 msg_length_profile[7]; 210 u32 msg_length_profile[7];
212 } stats; 211 } stats;
213
214 struct print_buf print_buf;
215}; 212};
216 213
217struct port; 214struct port;