diff options
author | 2022-01-19 11:38:36 +0800 | |
---|---|---|
committer | 2022-01-19 19:52:30 -0800 | |
commit | 20aa49541a2ea2cb767ada04cbcaf12fe3ca1275 (patch) | |
tree | d9c9282a6b4fb3ea021652d08d10dd29f7a9d5e5 /tools/perf/scripts/python/export-to-sqlite.py | |
parent | RISC-V: Introduce sv48 support without relocatable kernel (diff) | |
download | linux-dev-20aa49541a2ea2cb767ada04cbcaf12fe3ca1275.tar.xz linux-dev-20aa49541a2ea2cb767ada04cbcaf12fe3ca1275.zip |
riscv: fix boolconv.cocci warnings
arch/riscv/mm/init.c:48:11-16: 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
Reported-by: kernel test robot <lkp@intel.com>
Signed-off-by: kernel test robot <lkp@intel.com>
Signed-off-by: Palmer Dabbelt <palmer@rivosinc.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions