batman-adv: remove duplicate code from function is_bidirectional_neigh()
authorDaniele Furlan <daniele.furlan@gmail.com>
Sat, 7 May 2011 20:45:19 +0000 (22:45 +0200)
committerSven Eckelmann <sven@narfation.org>
Sun, 8 May 2011 14:10:42 +0000 (16:10 +0200)
commit27aea2128ec09924dfe08e97739b2bf8b15c8619
tree5b8c7435c40bf7e323a9582423d00647cf06b0a8
parent6e215fd8eb4930373d01da0fac16a0889804fac3
batman-adv: remove duplicate code from function is_bidirectional_neigh()

In function is_bidirectional_neigh the code that find out the one hop
neighbor is duplicated.

Signed-off-by: Daniele Furlan <daniele.furlan@gmail.com>
Signed-off-by: Sven Eckelmann <sven@narfation.org>
net/batman-adv/routing.c