ddr: altera: Clean up rw_mgr_mem_calibrate_vfifo_find_dqs_en_phase() part 2
authorMarek Vasut <marex@denx.de>
Sun, 19 Jul 2015 05:00:26 +0000 (07:00 +0200)
committerMarek Vasut <marex@denx.de>
Sat, 8 Aug 2015 12:14:20 +0000 (14:14 +0200)
commit23e8ea901a87e0a6296ecf135b3b71672d832676
tree34b04a04942f8ad62d529189129be9dc7cff3701
parent2f3589ca548f5db850720f88efb5271fae8aa389
ddr: altera: Clean up rw_mgr_mem_calibrate_vfifo_find_dqs_en_phase() part 2

If d != 0 after sdr_working_phase() finishes, the else branch
of the condition has no impact on anything at all, since work_end
was already set independently of the value of "d" . Zap this
useless code.

Signed-off-by: Marek Vasut <marex@denx.de>
drivers/ddr/altera/sequencer.c