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)
commit0843f197c46dd3c432a3202de80e8bc1fcb96a6b
treecb3a4a35dc52e8b843eddc80c35457f925fb1920
parent269cee621847a09b9cfcdb6469ff9b546efbcac1
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