summaryrefslogtreecommitdiff
path: root/net/batman-adv/bat_v.c
diff options
context:
space:
mode:
authorMarkus Elfring <elfring@users.sourceforge.net>2016-03-11 13:10:20 +0100
committerSimon Wunderlich <sw@simonwunderlich.de>2016-10-18 15:02:43 +0200
commit393b299d2cb804f09e05aafbdce9e3d3f61438cf (patch)
tree5eefac18ba3aadb904d781a04be42e8330ec8294 /net/batman-adv/bat_v.c
parent0566df307bc882bfca4128521f01a48f4579d27d (diff)
batman-adv: Less function calls in batadv_is_ap_isolated() after error detection
The variables "tt_local_entry" and "tt_global_entry" were eventually checked again despite of a corresponding null pointer test before. * Avoid this double check by reordering a function call sequence and the better selection of jump targets. * Omit the initialisation for these variables at the beginning then. Signed-off-by: Markus Elfring <elfring@users.sourceforge.net> Signed-off-by: Sven Eckelmann <sven@narfation.org> Signed-off-by: Simon Wunderlich <sw@simonwunderlich.de>
Diffstat (limited to 'net/batman-adv/bat_v.c')
0 files changed, 0 insertions, 0 deletions