]> git.kernelconcepts.de Git - karo-tx-linux.git/commitdiff
batman-adv: remove unused BATADV_BONDING_TQ_THRESHOLD constant
authorAntonio Quartulli <a@unstable.cc>
Tue, 12 Jan 2016 01:15:25 +0000 (09:15 +0800)
committerAntonio Quartulli <a@unstable.cc>
Tue, 23 Feb 2016 05:48:23 +0000 (13:48 +0800)
BATADV_BONDING_TQ_THRESHOLD is not used anymore since the implementation
of the bat_neigh_is_similar_or_better() API function.
Such function uses the more generic BATADV_TQ_SIMILARITY_THRESHOLD
constant.

Therefore, remove definition of the unused BATADV_BONDING_TQ_THRESHOLD
constant.

Signed-off-by: Antonio Quartulli <a@unstable.cc>
Signed-off-by: Marek Lindner <mareklindner@neomailbox.ch>
net/batman-adv/main.h

index 32dfc9e578af6344b79cb0a48d516203a04d60b7..8c01f54c61f3d0f9b977682b23376368cddd46bb 100644 (file)
  */
 #define BATADV_TQ_SIMILARITY_THRESHOLD 50
 
-/* how much worse secondary interfaces may be to be considered as bonding
- * candidates
- */
-#define BATADV_BONDING_TQ_THRESHOLD    50
-
 /* should not be bigger than 512 bytes or change the size of
  * forw_packet->direct_link_flags
  */