staging: pi433: remove comparison with true
authorValentin Vidic <Valentin.Vidic@CARNet.hr>
Sun, 10 Dec 2017 14:31:21 +0000 (15:31 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 13 Dec 2017 11:59:41 +0000 (12:59 +0100)
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>
drivers/staging/pi433/pi433_if.c

index 222fc7e..1f3ba55 100644 (file)
@@ -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