]> git.karo-electronics.de Git - linux-beck.git/commitdiff
staging: vt6655: fix assignment of bool to 0
authorTeodora Baluta <teobaluta@gmail.com>
Sun, 10 Nov 2013 15:12:43 +0000 (17:12 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 10 Nov 2013 19:15:08 +0000 (11:15 -0800)
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>
drivers/staging/vt6655/wmgr.c

index 40bb9004a9214ca0190cf8983a3527af26b881a1..a1eff7e514a9cd4721442d8176ee0c34d43ff66c 100644 (file)
@@ -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