Skip to content
Commit d4fda7ec authored by kernel test robot's avatar kernel test robot Committed by Sudeep Holla
Browse files

firmware: arm_scmi: Fix boolconv.cocci warnings

drivers/firmware/arm_scmi/virtio.c:225:40-45: WARNING: conversion to bool not needed here

 Remove unneeded conversion to bool

Semantic patch information:
 Relational and logical operators evaluate to bool,
 explicit conversion is overly verbose and unneeded.

Generated by: scripts/coccinelle/misc/boolconv.cocci

Link: https://lore.kernel.org/r/20210807173127.GA43248@a24dbc127934


CC: Igor Skalkin <igor.skalkin@opensynergy.com>
Reported-by: default avatarkernel test robot <lkp@intel.com>
Signed-off-by: default avatarkernel test robot <lkp@intel.com>
Signed-off-by: default avatarSudeep Holla <sudeep.holla@arm.com>
parent 1e7cbfaa
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment