diff options
author | Yang Li <yang.lee@linux.alibaba.com> | 2021-03-02 17:16:38 +0800 |
---|---|---|
committer | Rob Herring <robh@kernel.org> | 2021-03-11 09:53:38 -0700 |
commit | 065cac6c686d755e8379ee1e8d00e7c7ba79f49a (patch) | |
tree | b1605ab4aa3cd5214d6aeeb3ecfd3e56b9d801d0 /Documentation/devicetree/bindings/Makefile | |
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 <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 'Documentation/devicetree/bindings/Makefile')
0 files changed, 0 insertions, 0 deletions