From de71b5bd5a25f608f2bfff493fe6abd1d87f2fbe Mon Sep 17 00:00:00 2001 From: Valentin Vidic Date: Sun, 10 Dec 2017 15:31:20 +0100 Subject: [PATCH] staging: pi433: remove comparison with false Fixes checkpatch warning for error prone comparison. Signed-off-by: Valentin Vidic Signed-off-by: Greg Kroah-Hartman --- drivers/staging/pi433/pi433_if.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/pi433/pi433_if.c b/drivers/staging/pi433/pi433_if.c index 796430151564..222fc7ec23e4 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 */ -- 2.45.2