Commit f688b60d authored by Juliusz Chroboczek's avatar Juliusz Chroboczek

Remove pointless micro-optimisation.

parent 8b247998
......@@ -175,9 +175,7 @@ update_neighbour(struct neighbour *neigh, int hello, int hello_interval)
neigh->hello_seqno = hello;
neigh->reach >>= 1;
neigh->reach |= 0x8000;
if((neigh->reach & 0xFC00) == 0xFC00)
return rc;
else
if((neigh->reach & 0xFC00) != 0xFC00)
rc = 1;
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment