Skip to content

Commit

Permalink
staging: pi433: remove comparison with false
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 c144df8 commit de71b5b
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 @@ -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
*/
Expand Down

0 comments on commit de71b5b

Please sign in to comment.