]> git.baikalelectronics.ru Git - kernel.git/commit
cifs: connect: style: Simplify bool comparison
authorYANG LI <abaci-bugfix@linux.alibaba.com>
Mon, 11 Jan 2021 09:15:28 +0000 (17:15 +0800)
committerSteve French <stfrench@microsoft.com>
Wed, 13 Jan 2021 18:55:40 +0000 (12:55 -0600)
commitc9cf59fd5d6d740a64f16b9f2920aa38ed0f00d2
tree6b5abe5ee802e8389b20a70dbbedfb761b8f3beb
parent9373f4ad42f2ed4a32961e59482361f132336f3e
cifs: connect: style: Simplify bool comparison

Fix the following coccicheck warning:
./fs/cifs/connect.c:3740:6-21: WARNING: Comparison of 0/1 to bool
variable

Signed-off-by: YANG LI <abaci-bugfix@linux.alibaba.com>
Reported-by: Abaci Robot<abaci@linux.alibaba.com>
Signed-off-by: Steve French <stfrench@microsoft.com>
fs/cifs/connect.c