diff options
author | Yang Li <[email protected]> | 2021-03-02 17:16:38 +0800 |
---|---|---|
committer | Rob Herring <[email protected]> | 2021-03-11 09:53:38 -0700 |
commit | 065cac6c686d755e8379ee1e8d00e7c7ba79f49a (patch) | |
tree | b1605ab4aa3cd5214d6aeeb3ecfd3e56b9d801d0 /tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/EventClass.py | |
parent | 886db32398aba36937e3a61bc093bf4d859cfaf8 (diff) |
of: property: Remove unneeded return variable
This patch removes unneeded return variables, using only
'0' instead.
It fixes the following warning detected by coccinelle:
./drivers/of/property.c:1371:5-8: Unneeded variable: "ret". Return "0"
on line 1388
Reported-by: Abaci Robot <[email protected]>
Signed-off-by: Yang Li <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Rob Herring <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/EventClass.py')
0 files changed, 0 insertions, 0 deletions