diff options
author | Allan Stephens <Allan.Stephens@windriver.com> | 2010-12-31 13:59:35 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2011-01-01 16:57:57 -0500 |
commit | a016892cd6eb8d3dd9769021b088917ac7371abd (patch) | |
tree | 7176a3754a1b26b9a4703984d7a0ccf4e320e4ee /net/tipc/bcast.c | |
parent | e3ec9c7d5eea9adf2c604c623c987360cc700b88 (diff) |
tipc: remove extraneous braces from single statements
Cleans up TIPC's source code to eliminate the presence of unnecessary
use of {} around single statements.
These changes are purely cosmetic and do not alter the operation of TIPC
in any way.
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/bcast.c')
-rw-r--r-- | net/tipc/bcast.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/net/tipc/bcast.c b/net/tipc/bcast.c index 99a1469e300a..70ab5ef48766 100644 --- a/net/tipc/bcast.c +++ b/net/tipc/bcast.c | |||
@@ -196,9 +196,8 @@ static void bclink_retransmit_pkt(u32 after, u32 to) | |||
196 | struct sk_buff *buf; | 196 | struct sk_buff *buf; |
197 | 197 | ||
198 | buf = bcl->first_out; | 198 | buf = bcl->first_out; |
199 | while (buf && less_eq(buf_seqno(buf), after)) { | 199 | while (buf && less_eq(buf_seqno(buf), after)) |
200 | buf = buf->next; | 200 | buf = buf->next; |
201 | } | ||
202 | tipc_link_retransmit(bcl, buf, mod(to - after)); | 201 | tipc_link_retransmit(bcl, buf, mod(to - after)); |
203 | } | 202 | } |
204 | 203 | ||
@@ -224,9 +223,8 @@ void tipc_bclink_acknowledge(struct tipc_node *n_ptr, u32 acked) | |||
224 | /* Skip over packets that node has previously acknowledged */ | 223 | /* Skip over packets that node has previously acknowledged */ |
225 | 224 | ||
226 | crs = bcl->first_out; | 225 | crs = bcl->first_out; |
227 | while (crs && less_eq(buf_seqno(crs), n_ptr->bclink.acked)) { | 226 | while (crs && less_eq(buf_seqno(crs), n_ptr->bclink.acked)) |
228 | crs = crs->next; | 227 | crs = crs->next; |
229 | } | ||
230 | 228 | ||
231 | /* Update packets that node is now acknowledging */ | 229 | /* Update packets that node is now acknowledging */ |
232 | 230 | ||