Commit b632083c authored by Juliusz Chroboczek's avatar Juliusz Chroboczek

Don't call reset_txcost every time we compute a txcost.

parent 07077b3e
......@@ -220,7 +220,6 @@ reset_txcost(struct neighbour *neigh)
unsigned
neighbour_txcost(struct neighbour *neigh)
{
reset_txcost(neigh);
return neigh->txcost;
}
......
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