Browse Source

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>
Valentin Vidic 7 years ago
parent
commit
de71b5bd5a
1 changed files with 1 additions and 1 deletions
  1. 1 1
      drivers/staging/pi433/pi433_if.c

+ 1 - 1
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
 			 */