diff options
author | Chaehyun Lim <chaehyun.lim@gmail.com> | 2015-08-19 15:59:03 +0900 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2015-09-12 18:24:29 -0700 |
commit | bb9c2e7a9d04f74746256f033fd78cff2df0a5db (patch) | |
tree | c0d7aa61e4e68077c6285bd3c8dbafb91a6a7961 /drivers | |
parent | ce118546d4250cfe2b059fb42a4b755944723a50 (diff) | |
download | linux-stable-bb9c2e7a9d04f74746256f033fd78cff2df0a5db.tar.gz linux-stable-bb9c2e7a9d04f74746256f033fd78cff2df0a5db.tar.bz2 linux-stable-bb9c2e7a9d04f74746256f033fd78cff2df0a5db.zip |
staging: wilc1000: wilc_msgqueue.c: fix bool comparison style
This patch changes bool comparison style found by checkpatch.pl
CHECK: Using comparison to true is error prone
Signed-off-by: Chaehyun Lim <chaehyun.lim@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/staging/wilc1000/wilc_msgqueue.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/staging/wilc1000/wilc_msgqueue.c b/drivers/staging/wilc1000/wilc_msgqueue.c index d97dd705da5a..f974f859b1a8 100644 --- a/drivers/staging/wilc1000/wilc_msgqueue.c +++ b/drivers/staging/wilc1000/wilc_msgqueue.c @@ -61,7 +61,7 @@ WILC_ErrNo WILC_MsgQueueSend(WILC_MsgQueueHandle *pHandle, WILC_ERRORREPORT(s32RetStatus, WILC_INVALID_ARGUMENT); } - if (pHandle->bExiting == true) { + if (pHandle->bExiting) { WILC_ERRORREPORT(s32RetStatus, WILC_FAIL); } @@ -123,7 +123,7 @@ WILC_ErrNo WILC_MsgQueueRecv(WILC_MsgQueueHandle *pHandle, WILC_ERRORREPORT(s32RetStatus, WILC_INVALID_ARGUMENT); } - if (pHandle->bExiting == true) { + if (pHandle->bExiting) { WILC_ERRORREPORT(s32RetStatus, WILC_FAIL); } |