Commit a9113a90 authored by kbuild test robot's avatar kbuild test robot Committed by Vinod Koul

dmaengine: idxd: fix boolconv.cocci warnings

Remove unneeded conversion to bool

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

CC: Dave Jiang <dave.jiang@intel.com>
Signed-off-by: default avatarkbuild test robot <lkp@intel.com>
Signed-off-by: default avatarJulia Lawall <julia.lawall@inria.fr>
Acked-by: default avatarDave Jiang <dave.jiang@intel.com>
Link: https://lore.kernel.org/r/alpine.DEB.2.21.2001301543150.7476@hadrienSigned-off-by: default avatarVinod Koul <vkoul@kernel.org>
parent 474809a2
...@@ -66,7 +66,7 @@ static inline bool is_idxd_wq_dmaengine(struct idxd_wq *wq) ...@@ -66,7 +66,7 @@ static inline bool is_idxd_wq_dmaengine(struct idxd_wq *wq)
static inline bool is_idxd_wq_cdev(struct idxd_wq *wq) static inline bool is_idxd_wq_cdev(struct idxd_wq *wq)
{ {
return wq->type == IDXD_WQT_USER ? true : false; return wq->type == IDXD_WQT_USER;
} }
static int idxd_config_bus_match(struct device *dev, static int idxd_config_bus_match(struct device *dev,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment