batman-adv: Don't begin block comments with only a /* line
authorSven Eckelmann <sven@narfation.org>
Wed, 7 Mar 2012 08:07:46 +0000 (09:07 +0100)
committerMarek Lindner <lindner_marek@yahoo.de>
Sat, 10 Mar 2012 22:29:44 +0000 (06:29 +0800)
Signed-off-by: Sven Eckelmann <sven@narfation.org>
Signed-off-by: Marek Lindner <lindner_marek@yahoo.de>
net/batman-adv/bat_iv_ogm.c
net/batman-adv/main.h

index 677997b5c485304666c28123867d8991f6f6ef28..a6d5d63fb6ad9da8c7f82e87a44a2cb6f2b01935 100644 (file)
@@ -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
index 1468788a9d64c14a8b662fc1c8f6a2296f434088..94fa1c2393a6952fdbeeae735110e3033de9a6d9 100644 (file)
@@ -107,9 +107,7 @@ enum uev_type {
 
 #define GW_THRESHOLD   50
 
-/*
- * Debug Messages
- */
+/* Debug Messages */
 #ifdef pr_fmt
 #undef pr_fmt
 #endif
@@ -124,14 +122,7 @@ enum dbg_level {
        DBG_ALL    = 7
 };
 
-
-/*
- *  Vis
- */
-
-/*
- * Kernel headers
- */
+/* Kernel headers */
 
 #include <linux/mutex.h>       /* mutex */
 #include <linux/module.h>      /* needed by all modules */