batman-adv: a delayed_work has to be initialised once
authorAntonio Quartulli <ordex@autistici.org>
Tue, 25 Dec 2012 12:14:37 +0000 (13:14 +0100)
committerAntonio Quartulli <ordex@autistici.org>
Sat, 19 Jan 2013 13:18:09 +0000 (21:18 +0800)
commit7241444209f88f804ea33483394a601c1afb1d64
tree28f2b2dae11c5367182eec51d9ad2ff422217406
parent1ad759d8479b4b28f2a6c874d380066cf987b341
batman-adv: a delayed_work has to be initialised once

A delayed_work struct does not need to be initialized each
every time before being enqueued. Therefore the
INIT_DELAYED_WORK() macro should be used during the
initialization process only.

Signed-off-by: Antonio Quartulli <ordex@autistici.org>
Signed-off-by: Marek Lindner <lindner_marek@yahoo.de>
net/batman-adv/bridge_loop_avoidance.c
net/batman-adv/main.h
net/batman-adv/originator.c
net/batman-adv/send.c
net/batman-adv/translation-table.c
net/batman-adv/vis.c