aboutsummaryrefslogtreecommitdiffstats
path: root/net/batman-adv/bridge_loop_avoidance.c
diff options
context:
space:
mode:
authorAntonio Quartulli <ordex@autistici.org>2012-11-30 20:32:01 -0500
committerAntonio Quartulli <ordex@autistici.org>2013-01-12 05:58:21 -0500
commit46d160ef887963f26fee2df3d3b99eab54637014 (patch)
tree994220f470e1b0f5c48fd4f6308c778f548ba5ba /net/batman-adv/bridge_loop_avoidance.c
parentdec05074b1a322f5fbbe3f81bc438a75bfec3c34 (diff)
batman-adv: remove useless blank lines before and after brackets
Signed-off-by: Antonio Quartulli <ordex@autistici.org> Signed-off-by: Marek Lindner <lindner_marek@yahoo.de>
Diffstat (limited to 'net/batman-adv/bridge_loop_avoidance.c')
-rw-r--r--net/batman-adv/bridge_loop_avoidance.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/net/batman-adv/bridge_loop_avoidance.c b/net/batman-adv/bridge_loop_avoidance.c
index ec12c79104ec..724adf053dcc 100644
--- a/net/batman-adv/bridge_loop_avoidance.c
+++ b/net/batman-adv/bridge_loop_avoidance.c
@@ -235,7 +235,6 @@ batadv_bla_del_backbone_claims(struct batadv_backbone_gw *backbone_gw)
235 spin_lock_bh(list_lock); 235 spin_lock_bh(list_lock);
236 hlist_for_each_entry_safe(claim, node, node_tmp, 236 hlist_for_each_entry_safe(claim, node, node_tmp,
237 head, hash_entry) { 237 head, hash_entry) {
238
239 if (claim->backbone_gw != backbone_gw) 238 if (claim->backbone_gw != backbone_gw)
240 continue; 239 continue;
241 240
@@ -338,7 +337,6 @@ static void batadv_bla_send_claim(struct batadv_priv *bat_priv, uint8_t *mac,
338 "bla_send_claim(): REQUEST of %pM to %pMon vid %d\n", 337 "bla_send_claim(): REQUEST of %pM to %pMon vid %d\n",
339 ethhdr->h_source, ethhdr->h_dest, vid); 338 ethhdr->h_source, ethhdr->h_dest, vid);
340 break; 339 break;
341
342 } 340 }
343 341
344 if (vid != -1) 342 if (vid != -1)
@@ -539,7 +537,6 @@ static void batadv_bla_send_announce(struct batadv_priv *bat_priv,
539 537
540 batadv_bla_send_claim(bat_priv, mac, backbone_gw->vid, 538 batadv_bla_send_claim(bat_priv, mac, backbone_gw->vid,
541 BATADV_CLAIM_TYPE_ANNOUNCE); 539 BATADV_CLAIM_TYPE_ANNOUNCE);
542
543} 540}
544 541
545/** 542/**
@@ -598,7 +595,6 @@ static void batadv_bla_add_claim(struct batadv_priv *bat_priv,
598 595
599 claim->backbone_gw->crc ^= crc16(0, claim->addr, ETH_ALEN); 596 claim->backbone_gw->crc ^= crc16(0, claim->addr, ETH_ALEN);
600 batadv_backbone_gw_free_ref(claim->backbone_gw); 597 batadv_backbone_gw_free_ref(claim->backbone_gw);
601
602 } 598 }
603 /* set (new) backbone gw */ 599 /* set (new) backbone gw */
604 atomic_inc(&backbone_gw->refcount); 600 atomic_inc(&backbone_gw->refcount);