Re: [PATCH] Staging: bcm:CmHost: removed extra parenthesis.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sun, Mar 16, 2014 at 03:59:53PM -0400, Gary Rookard wrote:
> I removed some useless extra parenthesis.
> 
> Signed-off-by: Gary Alan Rookard <garyrookard@xxxxxxxxx>
> 
> ---
> On branch staging-next
>  drivers/staging/bcm/CmHost.c | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/drivers/staging/bcm/CmHost.c b/drivers/staging/bcm/CmHost.c
> index 9252ef1..41cb3de 100644
> --- a/drivers/staging/bcm/CmHost.c
> +++ b/drivers/staging/bcm/CmHost.c
> @@ -1689,7 +1689,7 @@ bool CmControlResponseMessage(struct bcm_mini_adapter *Adapter,  /* <Pointer to
>  				uiSearchRuleIndex);
>  		BCM_DEBUG_PRINT(Adapter, DBG_TYPE_OTHERS, CONN_MSG, DBG_LVL_ALL, "Direction:0x%X ",
>  				pstAddIndication->u8Direction);
> -		if ((uiSearchRuleIndex < NO_OF_QUEUES)) {
> +		if (uiSearchRuleIndex < NO_OF_QUEUES) {
>  			Adapter->PackInfo[uiSearchRuleIndex].ucDirection =
>  				pstAddIndication->u8Direction;
>  			BCM_DEBUG_PRINT(Adapter, DBG_TYPE_OTHERS, CONN_MSG, DBG_LVL_ALL, "bValid:0x%X ",
> @@ -1796,7 +1796,7 @@ bool CmControlResponseMessage(struct bcm_mini_adapter *Adapter,  /* <Pointer to
>  		if (uiSearchRuleIndex > NO_OF_QUEUES-1)
>  			BCM_DEBUG_PRINT(Adapter, DBG_TYPE_PRINTK, 0, 0, "SF doesn't exist for which DSC_ACK is received");
>  
> -		if ((uiSearchRuleIndex < NO_OF_QUEUES)) {
> +		if (uiSearchRuleIndex < NO_OF_QUEUES) {
>  			Adapter->PackInfo[uiSearchRuleIndex].ucDirection = pstChangeIndication->u8Direction;
>  			if (pstChangeIndication->sfActiveSet.bValid == TRUE)
>  				Adapter->PackInfo[uiSearchRuleIndex].bActiveSet = TRUE;

This change was done by someone else before you, sorry :(

_______________________________________________
devel mailing list
devel@xxxxxxxxxxxxxxxxxxxxxx
http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel




[Index of Archives]     [Linux Driver Backports]     [DMA Engine]     [Linux GPIO]     [Linux SPI]     [Video for Linux]     [Linux USB Devel]     [Linux Coverity]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]
  Powered by Linux