batman-adv: Convert BATADV_PRINT_VID macro to function
authorSven Eckelmann <sven@narfation.org>
Wed, 22 Feb 2017 16:16:42 +0000 (17:16 +0100)
committerSimon Wunderlich <sw@simonwunderlich.de>
Thu, 16 Mar 2017 20:14:53 +0000 (21:14 +0100)
commitf7a2bd6544657f125d2c8a8b4f231a8cd225ee8f
tree3957c6785eb185496ec60b2649d3bfde17461e75
parenta09c94d07becd85b5be57074fd4553e197ce97a4
batman-adv: Convert BATADV_PRINT_VID macro to function

The BATADV_PRINT_VID is not free of of possible side-effects. This can be
avoided when the the macro is converted to a simple inline function.

Signed-off-by: Sven Eckelmann <sven@narfation.org>
Signed-off-by: Simon Wunderlich <sw@simonwunderlich.de>
net/batman-adv/bridge_loop_avoidance.c
net/batman-adv/distributed-arp-table.c
net/batman-adv/main.h
net/batman-adv/translation-table.c