]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitacf8397ed73edd0267082f618d3b11f161ab2f49
tree28f2b2dae11c5367182eec51d9ad2ff422217406
parent4fe0242cd1de4e1b9bca20c9b714a20b3679473f
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