]> 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)
commit54c949d1712a31e4b9c509c9f08e3a2ea342d7f3
treeccf16d00f1c49232367a142431c6b0eb4fadfa5a
parentee74041910c844bf2971d276d6c0fd4fd4120886
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