From: Antonio Quartulli
Date: Tue, 12 Jan 2016 01:15:25 +0000 (+0800)
Subject: batman-adv: remove unused BATADV_BONDING_TQ_THRESHOLD constant
X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=e9ccd7e39cd87cb5ff87e2b293dcd467377d93d6;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git
batman-adv: remove unused BATADV_BONDING_TQ_THRESHOLD constant
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
Signed-off-by: Marek Lindner
---
diff --git a/net/batman-adv/main.h b/net/batman-adv/main.h
index 32dfc9e578af..8c01f54c61f3 100644
--- a/net/batman-adv/main.h
+++ b/net/batman-adv/main.h
@@ -100,11 +100,6 @@
*/
#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
*/