From: Teodora Baluta Date: Tue, 15 Oct 2013 22:59:52 +0000 (+0300) Subject: Staging: rtl8192u: fix checkpatch.pl error X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=57a8852912111bd1262db4cbeb2636a8619c8501;p=linux-beck.git Staging: rtl8192u: fix checkpatch.pl error 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 Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/rtl8192u/ieee80211/ieee80211_rx.c b/drivers/staging/rtl8192u/ieee80211/ieee80211_rx.c index 4414c7dd2b02..e730ed64c0fe 100644 --- a/drivers/staging/rtl8192u/ieee80211/ieee80211_rx.c +++ b/drivers/staging/rtl8192u/ieee80211/ieee80211_rx.c @@ -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.