diff options
author | Jason Yan <[email protected]> | 2020-04-26 17:41:15 +0800 |
---|---|---|
committer | Kalle Valo <[email protected]> | 2020-05-06 11:32:30 +0300 |
commit | fb1a9fc550cf748ba1225d734539ae97b5699b02 (patch) | |
tree | c5451bea7a5a61c97f0bef313db3a49b6940a219 /tools/perf/scripts/python/export-to-sqlite.py | |
parent | c03e3fe91c1916e5adc97befee1ca5efe5c39bda (diff) |
rtlwifi: use true,false for bool variable in rtl_init_rfkill()
The 'blocked' is a bool variable, and '==' expression itself is bool
too. So no need to convert it to 0/1.
This fixes the following coccicheck warning:
drivers/net/wireless/realtek/rtlwifi/base.c:508:13-41: WARNING:
Comparison of 0/1 to bool variable
Signed-off-by: Jason Yan <[email protected]>
Signed-off-by: Kalle Valo <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions