]> git.baikalelectronics.ru Git - kernel.git/commit
staging: rtl8723bs: remove unneeded conversion to bool
authorSaiyam Doshi <saiyamdoshi.in@gmail.com>
Thu, 12 Sep 2019 14:53:46 +0000 (20:23 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 30 Sep 2019 19:57:56 +0000 (21:57 +0200)
commit00a6db2618847cc3fa433ba4236d4601841664f4
tree831ca032d34aa2cb493d9d7c89756cb388166aa6
parent908d3c8234a2c3abeda178377e4e3681550813fc
staging: rtl8723bs: remove unneeded conversion to bool

Relational and logical operators evaluate to bool,
explicit conversion is overly verbose and unneeded.

This issue found using - Coccinelle (http://coccinelle.lip6.fr)

Signed-off-by: Saiyam Doshi <saiyamdoshi.in@gmail.com>
Link: https://lore.kernel.org/r/20190912145346.GA9013@SD.eic.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8723bs/core/rtw_mlme_ext.c