]> git.baikalelectronics.ru Git - uboot.git/commit
dm: ddr: socfpga: don't assign values that are not used
authorHeinrich Schuchardt <xypron.glpk@gmx.de>
Sat, 20 Feb 2021 09:40:23 +0000 (10:40 +0100)
committerTom Rini <trini@konsulko.com>
Wed, 24 Feb 2021 21:51:49 +0000 (16:51 -0500)
commit63b45c05c8bd49b55f443b287b167bb1d38b5b9d
tree8c58bc2bf58ced502408ff8bdc3d40025449b0eb
parentab997b12538e8ef980b9f1c9bd4ec9d545c85024
dm: ddr: socfpga: don't assign values that are not used

The values of left_edge[0] and right_edge[0] are overwritten before they
are used. Remove the superfluous assignments.

Fixes: a2734ab91de9 ("dm: ddr: socfpga: fix gen5 ddr driver to not use bss")
Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
Reviewed-by: Simon Glass <sjg@chromium.org>
drivers/ddr/altera/sequencer.c