diff options
author | Valentin Vidic <Valentin.Vidic@CARNet.hr> | 2017-12-10 15:31:21 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2017-12-13 12:59:41 +0100 |
commit | 2b3943b3c32df29445cfe82ea9254342d717ec43 (patch) | |
tree | 10b4bea84be1bcb2bc7044f053469181201a9936 /drivers | |
parent | de71b5bd5a25f608f2bfff493fe6abd1d87f2fbe (diff) |
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')
-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 222fc7ec23e4..1f3ba552689e 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 |