diff mbox

[OPW,kernel,6/7] staging: rtl8192e: remove unneeded semicolons

Message ID 1382644936-3630-1-git-send-email-valentina.manea.m@gmail.com
State New, archived
Headers show

Commit Message

Valentina Manea Oct. 24, 2013, 8:02 p.m. UTC
This fixes coccinelle errors regarding unneeded
semicolons.

Signed-off-by: Valentina Manea <valentina.manea.m@gmail.com>
---
 drivers/staging/rtl8192e/rtl8192e/r8192E_dev.c | 4 ++--
 drivers/staging/rtl8192e/rtl8192e/rtl_core.c   | 4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)

Comments

Rusty Russell Oct. 25, 2013, 12:48 a.m. UTC | #1
Valentina Manea <valentina.manea.m@gmail.com> writes:
> This fixes coccinelle errors regarding unneeded
> semicolons.
>
> Signed-off-by: Valentina Manea <valentina.manea.m@gmail.com>

(It'd be nice to fix the extraneous { } around single statements, too,
 but that's a separate patch).

Reviewed-by: Rusty Russell <rusty@rustcorp.com.au>

Cheers,
Rusty.

> ---
>  drivers/staging/rtl8192e/rtl8192e/r8192E_dev.c | 4 ++--
>  drivers/staging/rtl8192e/rtl8192e/rtl_core.c   | 4 ++--
>  2 files changed, 4 insertions(+), 4 deletions(-)
>
> diff --git a/drivers/staging/rtl8192e/rtl8192e/r8192E_dev.c b/drivers/staging/rtl8192e/rtl8192e/r8192E_dev.c
> index aaa9c0c..88b7ab3 100644
> --- a/drivers/staging/rtl8192e/rtl8192e/r8192E_dev.c
> +++ b/drivers/staging/rtl8192e/rtl8192e/r8192E_dev.c
> @@ -1184,7 +1184,7 @@ void  rtl8192_tx_fill_desc(struct net_device *dev, struct tx_desc *pdesc,
>  						cb_desc);
>  
>  	if (pci_dma_mapping_error(priv->pdev, mapping))
> -		RT_TRACE(COMP_ERR, "DMA Mapping error\n");;
> +		RT_TRACE(COMP_ERR, "DMA Mapping error\n");
>  	if (cb_desc->bAMPDUEnable) {
>  		pTxFwInfo->AllowAggregation = 1;
>  		pTxFwInfo->RxMF = cb_desc->ampdu_factor;
> @@ -1283,7 +1283,7 @@ void  rtl8192_tx_fill_cmd_desc(struct net_device *dev,
>  			 PCI_DMA_TODEVICE);
>  
>  	if (pci_dma_mapping_error(priv->pdev, mapping))
> -		RT_TRACE(COMP_ERR, "DMA Mapping error\n");;
> +		RT_TRACE(COMP_ERR, "DMA Mapping error\n");
>  	memset(entry, 0, 12);
>  	entry->LINIP = cb_desc->bLastIniPkt;
>  	entry->FirstSeg = 1;
> diff --git a/drivers/staging/rtl8192e/rtl8192e/rtl_core.c b/drivers/staging/rtl8192e/rtl8192e/rtl_core.c
> index e866fee..ff85060 100644
> --- a/drivers/staging/rtl8192e/rtl8192e/rtl_core.c
> +++ b/drivers/staging/rtl8192e/rtl8192e/rtl_core.c
> @@ -1890,7 +1890,7 @@ void rtl8192_hard_data_xmit(struct sk_buff *skb, struct net_device *dev,
>  	ret = rtl8192_tx(dev, skb);
>  	if (ret != 0) {
>  		kfree_skb(skb);
> -	};
> +	}
>  
>  	if (queue_index != MGNT_QUEUE) {
>  		priv->rtllib->stats.tx_bytes += (skb->len -
> @@ -1932,7 +1932,7 @@ int rtl8192_hard_start_xmit(struct sk_buff *skb, struct net_device *dev)
>  		ret = rtl8192_tx(dev, skb);
>  		if (ret != 0) {
>  			kfree_skb(skb);
> -		};
> +		}
>  	}
>  
>  
> -- 
> 1.8.1.2
>
> -- 
> 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/rtl8192e/rtl8192e/r8192E_dev.c b/drivers/staging/rtl8192e/rtl8192e/r8192E_dev.c
index aaa9c0c..88b7ab3 100644
--- a/drivers/staging/rtl8192e/rtl8192e/r8192E_dev.c
+++ b/drivers/staging/rtl8192e/rtl8192e/r8192E_dev.c
@@ -1184,7 +1184,7 @@  void  rtl8192_tx_fill_desc(struct net_device *dev, struct tx_desc *pdesc,
 						cb_desc);
 
 	if (pci_dma_mapping_error(priv->pdev, mapping))
-		RT_TRACE(COMP_ERR, "DMA Mapping error\n");;
+		RT_TRACE(COMP_ERR, "DMA Mapping error\n");
 	if (cb_desc->bAMPDUEnable) {
 		pTxFwInfo->AllowAggregation = 1;
 		pTxFwInfo->RxMF = cb_desc->ampdu_factor;
@@ -1283,7 +1283,7 @@  void  rtl8192_tx_fill_cmd_desc(struct net_device *dev,
 			 PCI_DMA_TODEVICE);
 
 	if (pci_dma_mapping_error(priv->pdev, mapping))
-		RT_TRACE(COMP_ERR, "DMA Mapping error\n");;
+		RT_TRACE(COMP_ERR, "DMA Mapping error\n");
 	memset(entry, 0, 12);
 	entry->LINIP = cb_desc->bLastIniPkt;
 	entry->FirstSeg = 1;
diff --git a/drivers/staging/rtl8192e/rtl8192e/rtl_core.c b/drivers/staging/rtl8192e/rtl8192e/rtl_core.c
index e866fee..ff85060 100644
--- a/drivers/staging/rtl8192e/rtl8192e/rtl_core.c
+++ b/drivers/staging/rtl8192e/rtl8192e/rtl_core.c
@@ -1890,7 +1890,7 @@  void rtl8192_hard_data_xmit(struct sk_buff *skb, struct net_device *dev,
 	ret = rtl8192_tx(dev, skb);
 	if (ret != 0) {
 		kfree_skb(skb);
-	};
+	}
 
 	if (queue_index != MGNT_QUEUE) {
 		priv->rtllib->stats.tx_bytes += (skb->len -
@@ -1932,7 +1932,7 @@  int rtl8192_hard_start_xmit(struct sk_buff *skb, struct net_device *dev)
 		ret = rtl8192_tx(dev, skb);
 		if (ret != 0) {
 			kfree_skb(skb);
-		};
+		}
 	}