diff options
author | Valentin Vidic <Valentin.Vidic@CARNet.hr> | 2017-12-10 15:31:20 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2017-12-13 12:59:41 +0100 |
commit | de71b5bd5a25f608f2bfff493fe6abd1d87f2fbe (patch) | |
tree | 78cf15251be0b13ab08e67e29ca54fd9fcedc1e6 /drivers | |
parent | c144df8d796fa6635fdf4a3721958f6e9a603eba (diff) | |
download | op-kernel-dev-de71b5bd5a25f608f2bfff493fe6abd1d87f2fbe.zip op-kernel-dev-de71b5bd5a25f608f2bfff493fe6abd1d87f2fbe.tar.gz |
staging: pi433: remove comparison with false
Fixes checkpatch warning for error prone comparison.
Signed-off-by: Valentin Vidic <Valentin.Vidic@CARNet.hr>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/staging/pi433/pi433_if.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/pi433/pi433_if.c b/drivers/staging/pi433/pi433_if.c index 7964301..222fc7e 100644 --- a/drivers/staging/pi433/pi433_if.c +++ b/drivers/staging/pi433/pi433_if.c @@ -646,7 +646,7 @@ pi433_tx_thread(void *data) disable_irq(device->irq_num[DIO0]); device->tx_active = true; - if (device->rx_active && rx_interrupted == false) { + if (device->rx_active && !rx_interrupted) { /* rx is currently waiting for a telegram; * we need to set the radio module to standby */ |