summaryrefslogtreecommitdiffstats
path: root/drivers/staging/pi433
diff options
context:
space:
mode:
authorValentin Vidic <Valentin.Vidic@CARNet.hr>2017-12-10 15:31:21 +0100
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2017-12-13 12:59:41 +0100
commit2b3943b3c32df29445cfe82ea9254342d717ec43 (patch)
tree10b4bea84be1bcb2bc7044f053469181201a9936 /drivers/staging/pi433
parentde71b5bd5a25f608f2bfff493fe6abd1d87f2fbe (diff)
downloadop-kernel-dev-2b3943b3c32df29445cfe82ea9254342d717ec43.zip
op-kernel-dev-2b3943b3c32df29445cfe82ea9254342d717ec43.tar.gz
staging: pi433: remove comparison with true
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/staging/pi433')
-rw-r--r--drivers/staging/pi433/pi433_if.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/pi433/pi433_if.c b/drivers/staging/pi433/pi433_if.c
index 222fc7e..1f3ba55 100644
--- a/drivers/staging/pi433/pi433_if.c
+++ b/drivers/staging/pi433/pi433_if.c
@@ -638,7 +638,7 @@ pi433_tx_thread(void *data)
*/
wait_event_interruptible(device->tx_wait_queue,
!device->rx_active ||
- device->interrupt_rx_allowed == true);
+ device->interrupt_rx_allowed);
/* prevent race conditions
* irq will be reenabled after tx config is set
OpenPOWER on IntegriCloud