staging: wilc1000: drop explicit conversion to bool
authorNicholas Mc Guire <hofrat@osadl.org>
Sat, 6 Apr 2019 09:45:27 +0000 (11:45 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 16 Apr 2019 11:15:53 +0000 (13:15 +0200)
commit8136eaa012c4011bf6df32834899bdec8f2cafdf
treea748e337a9a5c311c1687352e55955dcbf86d936
parentb368fa114a62031fa091fc9f7b2100691a12b7e0
staging: wilc1000: drop explicit conversion to bool

As the expression evaluates to a boolean anyway (relational and logical
operators) conversion with the ternary operator is not needed here as
coccinelle notes (boolconv.cocci)

Signed-off-by: Nicholas Mc Guire <hofrat@osadl.org>
Reviewed-by: Julian Calaby <julian.calaby@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/wilc1000/wilc_wlan.c