]> git.baikalelectronics.ru Git - kernel.git/commit
batman-adv: Remove one condition check in batadv_route_unicast_packet
authorGao Feng <gfree.wind@gmail.com>
Mon, 21 Nov 2016 15:01:09 +0000 (23:01 +0800)
committerSimon Wunderlich <sw@simonwunderlich.de>
Thu, 26 Jan 2017 07:37:01 +0000 (08:37 +0100)
commitde66c90eaa97d8bbb4df2620b64c6067c53bd1f5
treecb3a4a35dc52e8b843eddc80c35457f925fb1920
parentfa86b7cc362cf51e6237cca85a791b952892c0d3
batman-adv: Remove one condition check in batadv_route_unicast_packet

It could decrease one condition check to collect some statements in the
first condition block.

Signed-off-by: Gao Feng <gfree.wind@gmail.com>
Signed-off-by: Sven Eckelmann <sven@narfation.org>
Signed-off-by: Simon Wunderlich <sw@simonwunderlich.de>
net/batman-adv/routing.c