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

Greg KH gregkh at linuxfoundation.org
Mon Mar 17 19:26:04 UTC 2014


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 at gmail.com>
> 
> ---
> 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 :(



More information about the devel mailing list