Loading net/batman-adv/bat_iv_ogm.c +1 −2 Original line number Original line Diff line number Diff line Loading @@ -779,8 +779,7 @@ static int bat_iv_ogm_calc_tq(struct orig_node *orig_node, * information */ * information */ tq_own = (TQ_MAX_VALUE * total_count) / neigh_rq_count; tq_own = (TQ_MAX_VALUE * total_count) / neigh_rq_count; /* /* 1 - ((1-x) ** 3), normalized to TQ_MAX_VALUE this does * 1 - ((1-x) ** 3), normalized to TQ_MAX_VALUE this does * affect the nearly-symmetric links only a little, but * affect the nearly-symmetric links only a little, but * punishes asymmetric links more. This will give a value * punishes asymmetric links more. This will give a value * between 0 and TQ_MAX_VALUE * between 0 and TQ_MAX_VALUE Loading net/batman-adv/main.h +2 −11 Original line number Original line Diff line number Diff line Loading @@ -107,9 +107,7 @@ enum uev_type { #define GW_THRESHOLD 50 #define GW_THRESHOLD 50 /* /* Debug Messages */ * Debug Messages */ #ifdef pr_fmt #ifdef pr_fmt #undef pr_fmt #undef pr_fmt #endif #endif Loading @@ -124,14 +122,7 @@ enum dbg_level { DBG_ALL = 7 DBG_ALL = 7 }; }; /* Kernel headers */ /* * Vis */ /* * Kernel headers */ #include <linux/mutex.h> /* mutex */ #include <linux/mutex.h> /* mutex */ #include <linux/module.h> /* needed by all modules */ #include <linux/module.h> /* needed by all modules */ Loading Loading
net/batman-adv/bat_iv_ogm.c +1 −2 Original line number Original line Diff line number Diff line Loading @@ -779,8 +779,7 @@ static int bat_iv_ogm_calc_tq(struct orig_node *orig_node, * information */ * information */ tq_own = (TQ_MAX_VALUE * total_count) / neigh_rq_count; tq_own = (TQ_MAX_VALUE * total_count) / neigh_rq_count; /* /* 1 - ((1-x) ** 3), normalized to TQ_MAX_VALUE this does * 1 - ((1-x) ** 3), normalized to TQ_MAX_VALUE this does * affect the nearly-symmetric links only a little, but * affect the nearly-symmetric links only a little, but * punishes asymmetric links more. This will give a value * punishes asymmetric links more. This will give a value * between 0 and TQ_MAX_VALUE * between 0 and TQ_MAX_VALUE Loading
net/batman-adv/main.h +2 −11 Original line number Original line Diff line number Diff line Loading @@ -107,9 +107,7 @@ enum uev_type { #define GW_THRESHOLD 50 #define GW_THRESHOLD 50 /* /* Debug Messages */ * Debug Messages */ #ifdef pr_fmt #ifdef pr_fmt #undef pr_fmt #undef pr_fmt #endif #endif Loading @@ -124,14 +122,7 @@ enum dbg_level { DBG_ALL = 7 DBG_ALL = 7 }; }; /* Kernel headers */ /* * Vis */ /* * Kernel headers */ #include <linux/mutex.h> /* mutex */ #include <linux/mutex.h> /* mutex */ #include <linux/module.h> /* needed by all modules */ #include <linux/module.h> /* needed by all modules */ Loading