staging: wfx: replace 1 by true
authorJules Irenge <jbi.octave@gmail.com>
Tue, 5 Nov 2019 01:03:52 +0000 (01:03 +0000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 5 Nov 2019 16:50:21 +0000 (17:50 +0100)
commit168c7d76425d053ca6a311e450ac3627cffff5a7
treed7bacab6c14a3b6f4de44eb543da6cf933a3c22f
parent2c1facbc437ceb00b022e4484900c831e39a773a
staging: wfx: replace 1 by true

Replace 1 by true when it is stored in a boolean variable.
Recommended by coccinelle tool.

Signed-off-by: Jules Irenge <jbi.octave@gmail.com>
Link: https://lore.kernel.org/r/20191105010352.222479-3-jbi.octave@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/wfx/queue.c
drivers/staging/wfx/sta.c