mirror of https://gitee.com/openkylin/linux.git
staging: vt6655: fix assignment of bool to 0
This patch fixes the following warnings detected using coccinelle for drivers/staging/wmgr.c file: drivers/staging/vt6655/wmgr.c:2335:1-22: WARNING: Assignment of bool to 0/1 drivers/staging/vt6655/wmgr.c:2338:1-27: WARNING: Assignment of bool to 0/1 Signed-off-by: Teodora Baluta <teobaluta@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
1208f14a37
commit
0fd682f644
|
@ -2332,10 +2332,10 @@ vMgrCreateOwnIBSS(
|
|||
}
|
||||
|
||||
// Disable Protect Mode
|
||||
pDevice->bProtectMode = 0;
|
||||
pDevice->bProtectMode = false;
|
||||
MACvDisableProtectMD(pDevice->PortOffset);
|
||||
|
||||
pDevice->bBarkerPreambleMd = 0;
|
||||
pDevice->bBarkerPreambleMd = false;
|
||||
MACvDisableBarkerPreambleMd(pDevice->PortOffset);
|
||||
|
||||
// Kyle Test 2003.11.04
|
||||
|
|
Loading…
Reference in New Issue