aboutsummaryrefslogtreecommitdiffstats
path: root/net/batman-adv
diff options
context:
space:
mode:
authorSven Eckelmann <sven@narfation.org>2012-03-07 03:07:46 -0500
committerMarek Lindner <lindner_marek@yahoo.de>2012-03-10 17:29:44 -0500
commit21a1236bc3155c0c2efcce8ba03540fdf979ac00 (patch)
tree831bb5c1b64567161380b50d0581e1e067561cec /net/batman-adv
parent86ceb360565d06fcee96be85c4bafe9264756eca (diff)
batman-adv: Don't begin block comments with only a /* line
Signed-off-by: Sven Eckelmann <sven@narfation.org> Signed-off-by: Marek Lindner <lindner_marek@yahoo.de>
Diffstat (limited to 'net/batman-adv')
-rw-r--r--net/batman-adv/bat_iv_ogm.c3
-rw-r--r--net/batman-adv/main.h13
2 files changed, 3 insertions, 13 deletions
diff --git a/net/batman-adv/bat_iv_ogm.c b/net/batman-adv/bat_iv_ogm.c
index 677997b5c485..a6d5d63fb6ad 100644
--- a/net/batman-adv/bat_iv_ogm.c
+++ b/net/batman-adv/bat_iv_ogm.c
@@ -779,8 +779,7 @@ static int bat_iv_ogm_calc_tq(struct orig_node *orig_node,
779 * information */ 779 * information */
780 tq_own = (TQ_MAX_VALUE * total_count) / neigh_rq_count; 780 tq_own = (TQ_MAX_VALUE * total_count) / neigh_rq_count;
781 781
782 /* 782 /* 1 - ((1-x) ** 3), normalized to TQ_MAX_VALUE this does
783 * 1 - ((1-x) ** 3), normalized to TQ_MAX_VALUE this does
784 * affect the nearly-symmetric links only a little, but 783 * affect the nearly-symmetric links only a little, but
785 * punishes asymmetric links more. This will give a value 784 * punishes asymmetric links more. This will give a value
786 * between 0 and TQ_MAX_VALUE 785 * between 0 and TQ_MAX_VALUE
diff --git a/net/batman-adv/main.h b/net/batman-adv/main.h
index 1468788a9d64..94fa1c2393a6 100644
--- a/net/batman-adv/main.h
+++ b/net/batman-adv/main.h
@@ -107,9 +107,7 @@ enum uev_type {
107 107
108#define GW_THRESHOLD 50 108#define GW_THRESHOLD 50
109 109
110/* 110/* Debug Messages */
111 * Debug Messages
112 */
113#ifdef pr_fmt 111#ifdef pr_fmt
114#undef pr_fmt 112#undef pr_fmt
115#endif 113#endif
@@ -124,14 +122,7 @@ enum dbg_level {
124 DBG_ALL = 7 122 DBG_ALL = 7
125}; 123};
126 124
127 125/* Kernel headers */
128/*
129 * Vis
130 */
131
132/*
133 * Kernel headers
134 */
135 126
136#include <linux/mutex.h> /* mutex */ 127#include <linux/mutex.h> /* mutex */
137#include <linux/module.h> /* needed by all modules */ 128#include <linux/module.h> /* needed by all modules */