]> git.karo-electronics.de Git - karo-tx-linux.git/commit
batman-adv: tp_meter: mark init function with __init
authorAntonio Quartulli <a@unstable.cc>
Wed, 7 Jun 2017 14:51:22 +0000 (22:51 +0800)
committerSimon Wunderlich <sw@simonwunderlich.de>
Fri, 9 Jun 2017 13:56:59 +0000 (15:56 +0200)
commitd1aa51422013e16efb91672a32597a1d331470b2
tree18bf84b90b496e3c324c8a9b226248e9c5f4585d
parent22f0502ed9f3ae624b0b9a922a067cb6f7e7ce09
batman-adv: tp_meter: mark init function with __init

batadv_tp_meter_init() is invoked in batadv_init() only
which is marked with __init.

For this reason batadv_tp_meter_init() can be marked with
__init as well and dropped after module load.

Signed-off-by: Antonio Quartulli <a@unstable.cc>
Signed-off-by: Sven Eckelmann <sven@narfation.org>
Signed-off-by: Simon Wunderlich <sw@simonwunderlich.de>
net/batman-adv/tp_meter.c