summaryrefslogtreecommitdiffstats
path: root/drivers/staging/vt6655/rxtx.c
diff options
context:
space:
mode:
authorCristina Opriceana <cristina.opriceana@gmail.com>2015-03-04 12:37:28 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2015-03-06 15:30:07 -0800
commit19cd22972fbe419235b380a94f31c826809cafec (patch)
tree9926bb81c9fc9b2a6e50c54251026e2eddcee27d /drivers/staging/vt6655/rxtx.c
parenta568dc1f3779c9fde5a58bf793574ecd7024090a (diff)
downloadlinux-stable-19cd22972fbe419235b380a94f31c826809cafec.tar.gz
linux-stable-19cd22972fbe419235b380a94f31c826809cafec.tar.bz2
linux-stable-19cd22972fbe419235b380a94f31c826809cafec.zip
Staging: drivers: Bool initializations should use true/false
This patch replaces bool initializations of 1/0 with true/false in order to increase readability and respect the standards. Warning found by coccinelle. Signed-off-by: Cristina Opriceana <cristina.opriceana@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/vt6655/rxtx.c')
-rw-r--r--drivers/staging/vt6655/rxtx.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/staging/vt6655/rxtx.c b/drivers/staging/vt6655/rxtx.c
index ac8c8b5a1450..2b4f005dc7fa 100644
--- a/drivers/staging/vt6655/rxtx.c
+++ b/drivers/staging/vt6655/rxtx.c
@@ -248,11 +248,11 @@ s_uGetDataDuration(
unsigned char byFBOption
)
{
- bool bLastFrag = 0;
+ bool bLastFrag = false;
unsigned int uAckTime = 0, uNextPktTime = 0;
if (uFragIdx == (uMACfragNum-1))
- bLastFrag = 1;
+ bLastFrag = true;
switch (byDurType) {
case DATADUR_B: //DATADUR_B