diff mbox

[OPW,kernel,06/13] staging: rtl8187se: else should follow close brace '}

Message ID 1382316061-31542-7-git-send-email-teobaluta@gmail.com
State New, archived
Headers show

Commit Message

Teodora Baluta Oct. 21, 2013, 12:40 a.m. UTC
This patch fixes the following checkpatch warning:
ERROR: else should follow close brace '}'

Signed-off-by: Teodora Baluta <teobaluta@gmail.com>
---
 drivers/staging/rtl8187se/ieee80211/ieee80211_tx.c |    3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

Comments

Josh Triplett Oct. 21, 2013, 7:03 p.m. UTC | #1
On Mon, Oct 21, 2013 at 03:40:54AM +0300, Teodora Baluta wrote:
> This patch fixes the following checkpatch warning:
> ERROR: else should follow close brace '}'
> 
> Signed-off-by: Teodora Baluta <teobaluta@gmail.com>

Reviewed-by: Josh Triplett <josh@joshtriplett.org>

>  drivers/staging/rtl8187se/ieee80211/ieee80211_tx.c |    3 +--
>  1 file changed, 1 insertion(+), 2 deletions(-)
> 
> diff --git a/drivers/staging/rtl8187se/ieee80211/ieee80211_tx.c b/drivers/staging/rtl8187se/ieee80211/ieee80211_tx.c
> index 10ebf58..0e59504 100644
> --- a/drivers/staging/rtl8187se/ieee80211/ieee80211_tx.c
> +++ b/drivers/staging/rtl8187se/ieee80211/ieee80211_tx.c
> @@ -425,8 +425,7 @@ int ieee80211_rtl_xmit(struct sk_buff *skb,
>  		if (is_multicast_ether_addr(header.addr1)) {
>  			frag_size = MAX_FRAG_THRESHOLD;
>  			qos_ctl = QOS_CTL_NOTCONTAIN_ACK;
> -		}
> -		else {
> +		} else {
>  			/* default:392 */
>  			frag_size = ieee->fts;
>  			qos_ctl = 0;
> -- 
> 1.7.10.4
> 
> -- 
> You received this message because you are subscribed to the Google Groups "opw-kernel" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to opw-kernel+unsubscribe@googlegroups.com.
> For more options, visit https://groups.google.com/groups/opt_out.
diff mbox

Patch

diff --git a/drivers/staging/rtl8187se/ieee80211/ieee80211_tx.c b/drivers/staging/rtl8187se/ieee80211/ieee80211_tx.c
index 10ebf58..0e59504 100644
--- a/drivers/staging/rtl8187se/ieee80211/ieee80211_tx.c
+++ b/drivers/staging/rtl8187se/ieee80211/ieee80211_tx.c
@@ -425,8 +425,7 @@  int ieee80211_rtl_xmit(struct sk_buff *skb,
 		if (is_multicast_ether_addr(header.addr1)) {
 			frag_size = MAX_FRAG_THRESHOLD;
 			qos_ctl = QOS_CTL_NOTCONTAIN_ACK;
-		}
-		else {
+		} else {
 			/* default:392 */
 			frag_size = ieee->fts;
 			qos_ctl = 0;