firmware_loader: Remove unnecessary conversion to bool
authorJiapeng Chong <jiapeng.chong@linux.alibaba.com>
Thu, 18 Feb 2021 09:12:09 +0000 (17:12 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 23 Mar 2021 13:51:50 +0000 (14:51 +0100)
commit2c137388d685e11cf621b56bf06c4f3a1a8ff7be
tree622b46a5e17eabd3234afda658981c74deba3a27
parent2942df675128b156b0bc8571e2cb2d006fc26e84
firmware_loader: Remove unnecessary conversion to bool

Fix the following coccicheck warnings:

./tools/testing/selftests/firmware/fw_namespace.c:98:54-59: WARNING:
conversion to bool not needed here.

Reported-by: Abaci Robot <abaci@linux.alibaba.com>
Signed-off-by: Jiapeng Chong <jiapeng.chong@linux.alibaba.com>
Link: https://lore.kernel.org/r/1613639529-41139-1-git-send-email-jiapeng.chong@linux.alibaba.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
tools/testing/selftests/firmware/fw_namespace.c