diff options
author | 2021-03-02 17:16:38 +0800 | |
---|---|---|
committer | 2021-03-11 09:53:38 -0700 | |
commit | 065cac6c686d755e8379ee1e8d00e7c7ba79f49a (patch) | |
tree | b1605ab4aa3cd5214d6aeeb3ecfd3e56b9d801d0 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | powerpc/kexec_file: Restore FDT size estimation for kdump kernel (diff) | |
download | linux-dev-065cac6c686d755e8379ee1e8d00e7c7ba79f49a.tar.xz linux-dev-065cac6c686d755e8379ee1e8d00e7c7ba79f49a.zip |
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 <abaci@linux.alibaba.com>
Signed-off-by: Yang Li <yang.lee@linux.alibaba.com>
Link: https://lore.kernel.org/r/1614676598-105267-1-git-send-email-yang.lee@linux.alibaba.com
Signed-off-by: Rob Herring <robh@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions