Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1208053 > unrolled thread

[PATCH] rtlwifi: rtl8192ee: fix semicolon.cocci warnings

Started bykbuild test robot <fengguang.wu@intel.com>
First post2015-08-15 12:40 +0200
Last post2015-08-15 18:50 +0200
Articles 2 — 2 participants

Back to article view | Back to linux.kernel

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  [PATCH] rtlwifi: rtl8192ee: fix semicolon.cocci warnings kbuild test robot <fengguang.wu@intel.com> - 2015-08-15 12:40 +0200
    Re: [PATCH] rtlwifi: rtl8192ee: fix semicolon.cocci warnings Larry Finger <Larry.Finger@lwfinger.net> - 2015-08-15 18:50 +0200

#1208053 — [PATCH] rtlwifi: rtl8192ee: fix semicolon.cocci warnings

Fromkbuild test robot <fengguang.wu@intel.com>
Date2015-08-15 12:40 +0200
Subject[PATCH] rtlwifi: rtl8192ee: fix semicolon.cocci warnings
Message-ID<pXH2x-79H-11@gated-at.bofh.it>
drivers/net/wireless/rtlwifi/rtl8192ee/phy.c:856:2-3: Unneeded semicolon
drivers/net/wireless/rtlwifi/rtl8192ee/phy.c:492:3-4: Unneeded semicolon
drivers/net/wireless/rtlwifi/rtl8192ee/phy.c:452:3-4: Unneeded semicolon


 Remove unneeded semicolon.

Generated by: scripts/coccinelle/misc/semicolon.cocci

CC: Larry Finger <Larry.Finger@lwfinger.net>
Signed-off-by: Fengguang Wu <fengguang.wu@intel.com>
---

 phy.c |    6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

--- a/drivers/net/wireless/rtlwifi/rtl8192ee/phy.c
+++ b/drivers/net/wireless/rtlwifi/rtl8192ee/phy.c
@@ -449,7 +449,7 @@ static void _rtl92ee_phy_set_txpower_by_
 				 "Invalid RateSection %d in 2.4G,Rf %d,%dTx\n",
 				  rate_section, path, txnum);
 			break;
-		};
+		}
 	} else {
 		RT_TRACE(rtlpriv, COMP_INIT, DBG_LOUD,
 			 "Invalid Band %d\n", band);
@@ -489,7 +489,7 @@ static u8 _rtl92ee_phy_get_txpower_by_ra
 				 "Invalid RateSection %d in 2.4G,Rf %d,%dTx\n",
 				  rate_section, path, txnum);
 			break;
-		};
+		}
 	} else {
 		RT_TRACE(rtlpriv, COMP_INIT, DBG_LOUD,
 			 "Invalid Band %d()\n", band);
@@ -853,7 +853,7 @@ static u8 _rtl92ee_get_rate_section_inde
 		else if (regaddr >= 0xE20 && regaddr <= 0xE4C)
 			index = (u8)((regaddr - 0xE20) / 4);
 		break;
-	};
+	}
 	return index;
 }
 
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[toc] | [next] | [standalone]


#1208121

FromLarry Finger <Larry.Finger@lwfinger.net>
Date2015-08-15 18:50 +0200
Message-ID<pXMOC-78j-11@gated-at.bofh.it>
In reply to#1208053
On 08/15/2015 05:36 AM, kbuild test robot wrote:
> drivers/net/wireless/rtlwifi/rtl8192ee/phy.c:856:2-3: Unneeded semicolon
> drivers/net/wireless/rtlwifi/rtl8192ee/phy.c:492:3-4: Unneeded semicolon
> drivers/net/wireless/rtlwifi/rtl8192ee/phy.c:452:3-4: Unneeded semicolon
>
>
>   Remove unneeded semicolon.
>
> Generated by: scripts/coccinelle/misc/semicolon.cocci
>
> CC: Larry Finger <Larry.Finger@lwfinger.net>
> Signed-off-by: Fengguang Wu <fengguang.wu@intel.com>

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>

Larry

> ---
>
>   phy.c |    6 +++---
>   1 file changed, 3 insertions(+), 3 deletions(-)
>
> --- a/drivers/net/wireless/rtlwifi/rtl8192ee/phy.c
> +++ b/drivers/net/wireless/rtlwifi/rtl8192ee/phy.c
> @@ -449,7 +449,7 @@ static void _rtl92ee_phy_set_txpower_by_
>   				 "Invalid RateSection %d in 2.4G,Rf %d,%dTx\n",
>   				  rate_section, path, txnum);
>   			break;
> -		};
> +		}
>   	} else {
>   		RT_TRACE(rtlpriv, COMP_INIT, DBG_LOUD,
>   			 "Invalid Band %d\n", band);
> @@ -489,7 +489,7 @@ static u8 _rtl92ee_phy_get_txpower_by_ra
>   				 "Invalid RateSection %d in 2.4G,Rf %d,%dTx\n",
>   				  rate_section, path, txnum);
>   			break;
> -		};
> +		}
>   	} else {
>   		RT_TRACE(rtlpriv, COMP_INIT, DBG_LOUD,
>   			 "Invalid Band %d()\n", band);
> @@ -853,7 +853,7 @@ static u8 _rtl92ee_get_rate_section_inde
>   		else if (regaddr >= 0xE20 && regaddr <= 0xE4C)
>   			index = (u8)((regaddr - 0xE20) / 4);
>   		break;
> -	};
> +	}
>   	return index;
>   }
>
>

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[toc] | [prev] | [standalone]


Back to top | Article view | linux.kernel


csiph-web