]> git.baikalelectronics.ru Git - kernel.git/commit
hci: llc_shdlc: style: Simplify bool comparison
authorYANG LI <abaci-bugfix@linux.alibaba.com>
Mon, 11 Jan 2021 09:24:23 +0000 (17:24 +0800)
committerJakub Kicinski <kuba@kernel.org>
Wed, 13 Jan 2021 04:18:30 +0000 (20:18 -0800)
commitccbce889173fbcc5aeebec4b22c4ce72ace51ea8
treeccf16d00f1c49232367a142431c6b0eb4fadfa5a
parent90f2413a41834de652ef1f89d34d20ac073011fa
hci: llc_shdlc: style: Simplify bool comparison

Fix the following coccicheck warning:
./net/nfc/hci/llc_shdlc.c:239:5-21: WARNING: Comparison to bool

Signed-off-by: YANG LI <abaci-bugfix@linux.alibaba.com>
Reported-by: Abaci Robot<abaci@linux.alibaba.com>
Link: https://lore.kernel.org/r/1610357063-57705-1-git-send-email-abaci-bugfix@linux.alibaba.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
net/nfc/hci/llc_shdlc.c