batman-adv: checkpatch - Please don't use multiple blank lines
authorAntonio Quartulli <antonio@meshcoding.com>
Mon, 1 Sep 2014 12:37:28 +0000 (14:37 +0200)
committerAntonio Quartulli <antonio@meshcoding.com>
Wed, 7 Jan 2015 16:21:56 +0000 (17:21 +0100)
Signed-off-by: Antonio Quartulli <antonio@meshcoding.com>
Signed-off-by: Marek Lindner <mareklindner@neomailbox.ch>
net/batman-adv/bat_iv_ogm.c
net/batman-adv/bitarray.c
net/batman-adv/bridge_loop_avoidance.c
net/batman-adv/fragmentation.c
net/batman-adv/main.c
net/batman-adv/originator.c
net/batman-adv/originator.h
net/batman-adv/routing.c
net/batman-adv/soft-interface.c
net/batman-adv/sysfs.c
net/batman-adv/translation-table.c

index 73209f388fcbc140116fac768266e1cb2d105c79..4dd7c407b4cca5ba6ddfc23105c10284a64c3fb1 100644 (file)
@@ -26,7 +26,6 @@
 #include "bat_algo.h"
 #include "network-coding.h"
 
-
 /**
  * enum batadv_dup_status - duplicate status
  * @BATADV_NO_DUP: the packet is a duplicate
@@ -1362,7 +1361,6 @@ out:
        return ret;
 }
 
-
 /**
  * batadv_iv_ogm_process_per_outif - process a batman iv OGM for an outgoing if
  * @skb: the skb containing the OGM
index 9586750022f506d2dd6656d8b38f709dc9ea11a3..e3da07a64026ed0552799fb954f512f7e7c013b3 100644 (file)
@@ -29,7 +29,6 @@ static void batadv_bitmap_shift_left(unsigned long *seq_bits, int32_t n)
        bitmap_shift_left(seq_bits, seq_bits, n, BATADV_TQ_LOCAL_WINDOW_SIZE);
 }
 
-
 /* receive and process one packet within the sequence number window.
  *
  * returns:
index 0f0ca433ce3c15a1947e43731ca9718d1dfde25e..4fc6cab7ed461d383c76a4a245a236a92793ed57 100644 (file)
@@ -69,7 +69,6 @@ static inline uint32_t batadv_choose_backbone_gw(const void *data,
        return hash % size;
 }
 
-
 /* compares address and vid of two backbone gws */
 static int batadv_compare_backbone_gw(const struct hlist_node *node,
                                      const void *data2)
@@ -662,7 +661,6 @@ static int batadv_handle_announce(struct batadv_priv *bat_priv,
        if (unlikely(!backbone_gw))
                return 1;
 
-
        /* handle as ANNOUNCE frame */
        backbone_gw->lasttime = jiffies;
        crc = ntohs(*((__be16 *)(&an_addr[4])));
@@ -849,7 +847,6 @@ static int batadv_check_claim_group(struct batadv_priv *bat_priv,
        return 2;
 }
 
-
 /**
  * batadv_bla_process_claim
  * @bat_priv: the bat priv with all the soft interface information
@@ -1347,8 +1344,6 @@ out:
        return ret;
 }
 
-
-
 /**
  * batadv_bla_is_backbone_gw_orig
  * @bat_priv: the bat priv with all the soft interface information
@@ -1390,7 +1385,6 @@ bool batadv_bla_is_backbone_gw_orig(struct batadv_priv *bat_priv, uint8_t *orig,
        return false;
 }
 
-
 /**
  * batadv_bla_is_backbone_gw
  * @skb: the frame to be checked
@@ -1480,7 +1474,6 @@ int batadv_bla_rx(struct batadv_priv *bat_priv, struct sk_buff *skb,
        if (!atomic_read(&bat_priv->bridge_loop_avoidance))
                goto allow;
 
-
        if (unlikely(atomic_read(&bat_priv->bla.num_requests)))
                /* don't allow broadcasts while requests are in flight */
                if (is_multicast_ether_addr(ethhdr->h_dest) && is_bcast)
index 00f9e144cc97b1afe7cefc5b682524103799e4b7..3d1dcaa3e8b5af2040ec1cab987d98be876f35f8 100644 (file)
@@ -23,7 +23,6 @@
 #include "hard-interface.h"
 #include "soft-interface.h"
 
-
 /**
  * batadv_frag_clear_chain - delete entries in the fragment buffer chain
  * @head: head of chain with entries.
index 2cdd25a200bbebbdc974aa7bda939f97ec658217..d4079cd510f9e8e0f6a0e97dfa30d340d745f595 100644 (file)
@@ -41,7 +41,6 @@
 #include "network-coding.h"
 #include "fragmentation.h"
 
-
 /* List manipulations on hardif_list have to be rtnl_lock()'ed,
  * list traversals just rcu-locked
  */
index bea8198d0198104a2fcbf4253f631fb86708e0d6..90e805aba3795dd2ad08d5c29f06b8d925351275 100644 (file)
@@ -797,7 +797,6 @@ batadv_purge_orig_ifinfo(struct batadv_priv *bat_priv,
        return ifinfo_purged;
 }
 
-
 /**
  * batadv_purge_orig_neighbors - purges neighbors from originator
  * @bat_priv: the bat priv with all the soft interface information
index db3a9ed734cb7c858c28d00e53250fd22d15f828..aa4a4369629569840e310acc2c6e6619f49a5768 100644 (file)
@@ -70,7 +70,6 @@ batadv_orig_node_vlan_get(struct batadv_orig_node *orig_node,
                          unsigned short vid);
 void batadv_orig_node_vlan_free_ref(struct batadv_orig_node_vlan *orig_vlan);
 
-
 /* hashfunction to choose an entry in a hash table of given size
  * hash algorithm from http://en.wikipedia.org/wiki/Hash_table
  */
index 6648f321864d8f7b33d258f9ee2c93e339738a93..139d2f65728eb486a3c8d3dba2487ec38408a1c3 100644 (file)
@@ -292,7 +292,6 @@ out:
        return ret;
 }
 
-
 int batadv_recv_icmp_packet(struct sk_buff *skb,
                            struct batadv_hard_iface *recv_if)
 {
index 5467955eb27c6c3e069db480f8a0ebc97fcaf107..5ec31d7de24f17704b5f62d3bbabfc6101d720ae 100644 (file)
@@ -36,7 +36,6 @@
 #include "bridge_loop_avoidance.h"
 #include "network-coding.h"
 
-
 static int batadv_get_settings(struct net_device *dev, struct ethtool_cmd *cmd);
 static void batadv_get_drvinfo(struct net_device *dev,
                               struct ethtool_drvinfo *info);
index f40cb0436eba1ece028c9852d5f69b9c504f62b4..a75dc12f96f8c75432ad1c709e6813748bf7506b 100644 (file)
@@ -151,7 +151,6 @@ ssize_t batadv_show_##_name(struct kobject *kobj,                   \
        static BATADV_ATTR(_name, _mode, batadv_show_##_name,           \
                           batadv_store_##_name)
 
-
 #define BATADV_ATTR_SIF_STORE_UINT(_name, _min, _max, _post_func)      \
 ssize_t batadv_store_##_name(struct kobject *kobj,                     \
                             struct attribute *attr, char *buff,        \
index 38a804e1db0acab988b3a6e5658a663153ed5a84..84e6f01b734f2f9cdd772802fd87d849f5ecf01c 100644 (file)
@@ -1780,7 +1780,6 @@ static void batadv_tt_global_del(struct batadv_priv *bat_priv,
                batadv_tt_global_del_roaming(bat_priv, tt_global_entry,
                                             orig_node, message);
 
-
 out:
        if (tt_global_entry)
                batadv_tt_global_entry_free_ref(tt_global_entry);