mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-11-10 20:48:12 +00:00
batman-adv: use more descriptive var names for is_similar_or_better
neigh1 and neigh2 is not really helpful when looking at a code which needs to judge the metric similarity between a candidate and a reference. This already caused an implementation error in the B.A.T.M.A.N. V bonding code. Simply using "reference" and "candidate" for the neighbors is a lot more descriptive and makes it easier to understand the code. Signed-off-by: Sven Eckelmann <sven@narfation.org>
This commit is contained in:
parent
7356a9232d
commit
776c26254d
3 changed files with 40 additions and 39 deletions
Loading…
Add table
Add a link
Reference in a new issue