Staging: rtl8192u: fix checkpatch.pl error
authorTeodora Baluta <teobaluta@gmail.com>
Tue, 15 Oct 2013 22:59:52 +0000 (01:59 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 16 Oct 2013 16:40:30 +0000 (09:40 -0700)
This patch fixes the checkpatch.pl script error:
ERROR: do not use C99 // comments
+static long ieee80211_translate_todbm(u8 signal_strength_index)// 0-100
index.

Signed-off-by: Teodora Baluta <teobaluta@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8192u/ieee80211/ieee80211_rx.c

index 4414c7dd2b02d82d63afba06481e5c9de695215a..e730ed64c0fe3775d4567cdd01036d72d0bb8fdf 100644 (file)
@@ -2166,7 +2166,8 @@ static inline u8 ieee80211_SignalStrengthTranslate(
        return RetSS;
 }
 
-static long ieee80211_translate_todbm(u8 signal_strength_index)// 0-100 index.
+/* 0-100 index */
+static long ieee80211_translate_todbm(u8 signal_strength_index)
 {
        long    signal_power; // in dBm.