diff options
author | Antonio Quartulli <ordex@autistici.org> | 2011-05-08 20:52:57 +0200 |
---|---|---|
committer | Sven Eckelmann <sven@narfation.org> | 2011-05-30 07:39:27 +0200 |
commit | e2cbc11c0e1225bd5fe183a967fc80df3db10745 (patch) | |
tree | 5e7bf4845b660067fdfb93e4cee836fa545a621f /net/batman-adv/gateway_client.c | |
parent | Linux 3.0-rc1 (diff) | |
download | linux-e2cbc11c0e1225bd5fe183a967fc80df3db10745.tar.xz linux-e2cbc11c0e1225bd5fe183a967fc80df3db10745.zip |
batman-adv: move neigh_node->if_incoming->if_status check in find_router()
Every time that find_router() is invoked, if_status has to be compared with
IF_ACTIVE. Moving this comparison inside find_router() will avoid to write it
each time.
Signed-off-by: Antonio Quartulli <ordex@autistici.org>
Signed-off-by: Sven Eckelmann <sven@narfation.org>
Diffstat (limited to 'net/batman-adv/gateway_client.c')
0 files changed, 0 insertions, 0 deletions