OSDN Git Service

batman-adv: Remove unnecessary INIT_HLIST_NODE() calls
authorLinus Lüssing <linus.luessing@web.de>
Fri, 19 Apr 2013 10:06:56 +0000 (12:06 +0200)
committerAntonio Quartulli <ordex@autistici.org>
Wed, 29 May 2013 00:44:55 +0000 (02:44 +0200)
commite54c77f08ec62434ac8b24e402aa7b787cf42198
tree62b532066b325c5bef1b45e58b36043c71b3ece1
parentd4ff40f683221d46c351cd9ab61f37a6ea5d2444
batman-adv: Remove unnecessary INIT_HLIST_NODE() calls

There's no need to for an explicit hlist_node initialization if it is
added to a list right away, like it's the case with the
hlist_add_head()s here.

Signed-off-by: Linus Lüssing <linus.luessing@web.de>
Signed-off-by: Marek Lindner <lindner_marek@yahoo.de>
Signed-off-by: Antonio Quartulli <ordex@autistici.org>
net/batman-adv/bat_iv_ogm.c
net/batman-adv/send.c