summaryrefslogtreecommitdiffstats
path: root/net/batman-adv/bat_iv_ogm.c
diff options
context:
space:
mode:
authorSven Eckelmann2012-03-07 09:07:46 +0100
committerMarek Lindner2012-03-10 23:29:44 +0100
commit21a1236bc3155c0c2efcce8ba03540fdf979ac00 (patch)
tree831bb5c1b64567161380b50d0581e1e067561cec /net/batman-adv/bat_iv_ogm.c
parentbatman-adv: Ignore 80-chars per line limits for strings (diff)
downloadkernel-qcow2-linux-21a1236bc3155c0c2efcce8ba03540fdf979ac00.tar.gz
kernel-qcow2-linux-21a1236bc3155c0c2efcce8ba03540fdf979ac00.tar.xz
kernel-qcow2-linux-21a1236bc3155c0c2efcce8ba03540fdf979ac00.zip
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/bat_iv_ogm.c')
-rw-r--r--net/batman-adv/bat_iv_ogm.c3
1 files changed, 1 insertions, 2 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,
* information */
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
* punishes asymmetric links more. This will give a value
* between 0 and TQ_MAX_VALUE