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)
commitf0bbcdef1b7fdf3e41e942fef56ceb76f7f820ac
tree8c58bc2bf58ced502408ff8bdc3d40025449b0eb
parent277b8799061df3b3aa242c5fee9b1cf6a40abe04
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: 285b3cb939a8 ("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