diff options
author | Allan Stephens <allan.stephens@windriver.com> | 2008-05-19 16:30:13 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-05-19 16:30:13 -0400 |
commit | 5b06c85c3b96fa8db632f1ee94f99a2bd0215f3a (patch) | |
tree | 7c52f30881912ed94f15f4c367d23e44ad864776 /net/tipc/subscr.c | |
parent | 28353e7fad1d224687220a448950dc552645a50a (diff) |
tipc: Cosmetic cleanup of topology service code
This patch contains a set of cosmetic changes to TIPC's network
topology service subsystem, including:
- updates to comments (including copyright dates)
- re-ordering structure fields to group them more logically
- removal of optional debugging code that is no longer required
- minor changes to whitespace to conform to Linux coding conventions
Signed-off-by: Allan Stephens <allan.stephens@windriver.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/tipc/subscr.c')
-rw-r--r-- | net/tipc/subscr.c | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/net/tipc/subscr.c b/net/tipc/subscr.c index 7c62791eb0cc..0326d3060bc7 100644 --- a/net/tipc/subscr.c +++ b/net/tipc/subscr.c | |||
@@ -1,8 +1,8 @@ | |||
1 | /* | 1 | /* |
2 | * net/tipc/subscr.c: TIPC subscription service | 2 | * net/tipc/subscr.c: TIPC network topology service |
3 | * | 3 | * |
4 | * Copyright (c) 2000-2006, Ericsson AB | 4 | * Copyright (c) 2000-2006, Ericsson AB |
5 | * Copyright (c) 2005, Wind River Systems | 5 | * Copyright (c) 2005-2007, Wind River Systems |
6 | * All rights reserved. | 6 | * All rights reserved. |
7 | * | 7 | * |
8 | * Redistribution and use in source and binary forms, with or without | 8 | * Redistribution and use in source and binary forms, with or without |
@@ -36,10 +36,10 @@ | |||
36 | 36 | ||
37 | #include "core.h" | 37 | #include "core.h" |
38 | #include "dbg.h" | 38 | #include "dbg.h" |
39 | #include "subscr.h" | ||
40 | #include "name_table.h" | 39 | #include "name_table.h" |
41 | #include "port.h" | 40 | #include "port.h" |
42 | #include "ref.h" | 41 | #include "ref.h" |
42 | #include "subscr.h" | ||
43 | 43 | ||
44 | /** | 44 | /** |
45 | * struct subscriber - TIPC network topology subscriber | 45 | * struct subscriber - TIPC network topology subscriber |
@@ -149,8 +149,6 @@ void tipc_subscr_report_overlap(struct subscription *sub, | |||
149 | u32 node, | 149 | u32 node, |
150 | int must) | 150 | int must) |
151 | { | 151 | { |
152 | dbg("Rep overlap %u:%u,%u<->%u,%u\n", sub->seq.type, sub->seq.lower, | ||
153 | sub->seq.upper, found_lower, found_upper); | ||
154 | if (!tipc_subscr_overlap(sub, found_lower, found_upper)) | 152 | if (!tipc_subscr_overlap(sub, found_lower, found_upper)) |
155 | return; | 153 | return; |
156 | if (!must && !(sub->filter & TIPC_SUB_PORTS)) | 154 | if (!must && !(sub->filter & TIPC_SUB_PORTS)) |