Skip to content

Commit

Permalink
staging: pi433: remove comparison with true
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Valentin Vidic authored and Greg Kroah-Hartman committed Dec 13, 2017
1 parent de71b5b commit 2b3943b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/staging/pi433/pi433_if.c
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 2b3943b

Please sign in to comment.