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>
This commit is contained in:
Chaehyun Lim 2015-08-19 15:59:03 +09:00 committed by Greg Kroah-Hartman
parent ce118546d4
commit bb9c2e7a9d

View File

@ -61,7 +61,7 @@ WILC_ErrNo WILC_MsgQueueSend(WILC_MsgQueueHandle *pHandle,
WILC_ERRORREPORT(s32RetStatus, WILC_INVALID_ARGUMENT); WILC_ERRORREPORT(s32RetStatus, WILC_INVALID_ARGUMENT);
} }
if (pHandle->bExiting == true) { if (pHandle->bExiting) {
WILC_ERRORREPORT(s32RetStatus, WILC_FAIL); WILC_ERRORREPORT(s32RetStatus, WILC_FAIL);
} }
@ -123,7 +123,7 @@ WILC_ErrNo WILC_MsgQueueRecv(WILC_MsgQueueHandle *pHandle,
WILC_ERRORREPORT(s32RetStatus, WILC_INVALID_ARGUMENT); WILC_ERRORREPORT(s32RetStatus, WILC_INVALID_ARGUMENT);
} }
if (pHandle->bExiting == true) { if (pHandle->bExiting) {
WILC_ERRORREPORT(s32RetStatus, WILC_FAIL); WILC_ERRORREPORT(s32RetStatus, WILC_FAIL);
} }