diff options
author | Antonio Quartulli <antonio@open-mesh.com> | 2013-03-25 08:49:46 -0400 |
---|---|---|
committer | Antonio Quartulli <ordex@autistici.org> | 2013-05-28 20:44:53 -0400 |
commit | 863dd7a82a2fba3e1a094c3d10a9cc8d1afd10d6 (patch) | |
tree | fc98b3f0d7a44efe954146e9420cc0e14f3b6be0 /net/batman-adv/originator.h | |
parent | 93178018eb35aaa6ebcb5a136dce7eb3add011ab (diff) |
batman-adv: drop useless argument seqno in neighbor creation
the sequence number is not stored in struct neigh_node,
therefore there is no need to pass such value to the
neigh_node creation procedure.
At the moment the value is only used by a debug message, but
given the fact that the seqno is not related to the neighbor
object, it is better to print it elsewhere.
Signed-off-by: Antonio Quartulli <antonio@open-mesh.com>
Signed-off-by: Marek Lindner <lindner_marek@yahoo.de>
Diffstat (limited to 'net/batman-adv/originator.h')
-rw-r--r-- | net/batman-adv/originator.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/batman-adv/originator.h b/net/batman-adv/originator.h index 734e5a3d8a5b..7887b84a9af4 100644 --- a/net/batman-adv/originator.h +++ b/net/batman-adv/originator.h | |||
@@ -31,7 +31,7 @@ struct batadv_orig_node *batadv_get_orig_node(struct batadv_priv *bat_priv, | |||
31 | const uint8_t *addr); | 31 | const uint8_t *addr); |
32 | struct batadv_neigh_node * | 32 | struct batadv_neigh_node * |
33 | batadv_neigh_node_new(struct batadv_hard_iface *hard_iface, | 33 | batadv_neigh_node_new(struct batadv_hard_iface *hard_iface, |
34 | const uint8_t *neigh_addr, uint32_t seqno); | 34 | const uint8_t *neigh_addr); |
35 | void batadv_neigh_node_free_ref(struct batadv_neigh_node *neigh_node); | 35 | void batadv_neigh_node_free_ref(struct batadv_neigh_node *neigh_node); |
36 | struct batadv_neigh_node * | 36 | struct batadv_neigh_node * |
37 | batadv_orig_node_get_router(struct batadv_orig_node *orig_node); | 37 | batadv_orig_node_get_router(struct batadv_orig_node *orig_node); |