From: Valentin Vidic Date: Sun, 10 Dec 2017 14:31:21 +0000 (+0100) Subject: staging: pi433: remove comparison with true X-Git-Tag: rel_imx_4.19.35_1.1.0~10789^2~318 X-Git-Url: https://git.somdevices.com/?a=commitdiff_plain;h=2b3943b3c32df29445cfe82ea9254342d717ec43;p=linux.git staging: pi433: remove comparison with true Fixes checkpatch warning for error prone comparison. Signed-off-by: Valentin Vidic Signed-off-by: Greg Kroah-Hartman --- 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