WSL2-Linux-Kernel/drivers/of
Jiapeng Chong 5cd1a85a6c of: overlay: Remove redundant assignment to ret
Variable ret is set to zero but this value is never read as it is
overwritten with a new value later on, hence it is a redundant
assignment and can be removed.

Cleans up the following clang-analyzer warning:

drivers/of/overlay.c:1197:2: warning: Value stored to 'ret' is never
read [clang-analyzer-deadcode.DeadStores].

drivers/of/overlay.c:1026:2: warning: Value stored to 'ret' is never
read [clang-analyzer-deadcode.DeadStores].

Reported-by: Abaci Robot <abaci@linux.alibaba.com>
Signed-off-by: Jiapeng Chong <jiapeng.chong@linux.alibaba.com>
Link: https://lore.kernel.org/r/1619347258-55002-1-git-send-email-jiapeng.chong@linux.alibaba.com
Signed-off-by: Rob Herring <robh@kernel.org>
2021-05-03 13:57:56 -05:00
..
unittest-data
Kconfig
Makefile
address.c Devicetree updates for v5.13: 2021-04-28 15:50:24 -07:00
base.c
device.c
dynamic.c
fdt.c Devicetree updates for v5.13: 2021-04-28 15:50:24 -07:00
fdt_address.c
irq.c
kexec.c
kobj.c
of_net.c of: net: fix of_get_mac_addr_nvmem() for non-platform devices 2021-04-13 14:35:02 -07:00
of_numa.c
of_private.h
of_reserved_mem.c
overlay.c of: overlay: Remove redundant assignment to ret 2021-05-03 13:57:56 -05:00
pdt.c
platform.c
property.c Devicetree updates for v5.13: 2021-04-28 15:50:24 -07:00
resolver.c
unittest.c