ddr: altera: Clean up rw_mgr_mem_calibrate_vfifo_center() part 8
authorMarek Vasut <marex@denx.de>
Sat, 18 Jul 2015 18:34:00 +0000 (20:34 +0200)
committerMarek Vasut <marex@denx.de>
Sat, 8 Aug 2015 12:14:22 +0000 (14:14 +0200)
commit0c4be198f48eb0ff8cfcd4cdb654d975f69a3238
tree25831d0cb3dc524d2aec5fd776edb9a8e7bd0fa2
parent5d6db44485c714a0788ff18fcef5de750707134a
ddr: altera: Clean up rw_mgr_mem_calibrate_vfifo_center() part 8

The search_stop_check() always resets the bit_chk to a new value,
so bit_chk will never survive between search_left_edge() and
search_right_edge() invocation. There is thus no need to pass
it into these functions, so make bit_chk local to them.

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