From: Chaehyun Lim Date: Wed, 19 Aug 2015 06:59:00 +0000 (+0900) Subject: staging: wilc1000: wilc_msgqueue.c: remove unnecessary parentheses X-Git-Tag: v4.14-rc1~4420^2~2254 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=96cab4cdc6583d386696c1325a391c11391d6998;p=platform%2Fkernel%2Flinux-rpi.git staging: wilc1000: wilc_msgqueue.c: remove unnecessary parentheses This patch remove unnecessary parentheses found by checkpatch.pl CHECK: Unnecessary parentheses around pHandle->hSem Signed-off-by: Chaehyun Lim Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/wilc1000/wilc_msgqueue.c b/drivers/staging/wilc1000/wilc_msgqueue.c index 8cb74d1..53ce586 100644 --- a/drivers/staging/wilc1000/wilc_msgqueue.c +++ b/drivers/staging/wilc1000/wilc_msgqueue.c @@ -30,7 +30,7 @@ WILC_ErrNo WILC_MsgQueueDestroy(WILC_MsgQueueHandle *pHandle) /* Release any waiting receiver thread. */ while (pHandle->u32ReceiversCount > 0) { - up(&(pHandle->hSem)); + up(&pHandle->hSem); pHandle->u32ReceiversCount--; } @@ -133,7 +133,7 @@ WILC_ErrNo WILC_MsgQueueRecv(WILC_MsgQueueHandle *pHandle, pHandle->u32ReceiversCount++; spin_unlock_irqrestore(&pHandle->strCriticalSection, flags); - down(&(pHandle->hSem)); + down(&pHandle->hSem); if (s32RetStatus == WILC_TIMEOUT) { /* timed out, just exit without consumeing the message */