diff options
author | 2020-04-20 20:34:31 +0800 | |
---|---|---|
committer | 2020-04-21 15:45:32 -0700 | |
commit | e9a9e519941c2a30f1ac973f84a555b86132265d (patch) | |
tree | b65aa1f869e8d0efeb5d3533636d919cd07b0bc0 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | cgroup, netclassid: remove double cond_resched (diff) | |
download | linux-rng-e9a9e519941c2a30f1ac973f84a555b86132265d.tar.xz linux-rng-e9a9e519941c2a30f1ac973f84a555b86132265d.zip |
ptp: Remove unneeded conversion to bool
The '==' expression itself is bool, no need to convert it to bool again.
This fixes the following coccicheck warning:
drivers/ptp/ptp_ines.c:403:55-60: WARNING: conversion to bool not
needed here
drivers/ptp/ptp_ines.c:404:55-60: WARNING: conversion to bool not
needed here
Signed-off-by: Jason Yan <yanaijie@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions