Commit 87aad734 authored by Derek Basehore's avatar Derek Basehore Committed by Caesar Wang
Browse files

rockchip/rk3399: Remove unneeded if statement



The removed if statement would make the same check that the for loop
it is in does to break out of the for loop, so it doesn't make any
sense to keep it there.

Change-Id: I819c29f9182e6de1fc47e418aed15ad38e8f9fa9
Signed-off-by: default avatarDerek Basehore <dbasehore@chromium.org>
parent 18f705fa
......@@ -690,9 +690,6 @@ __sramfunc void dmc_restore(void)
retry:
for (channel = 0; channel < sdram_params->num_channels; channel++) {
phy_pctrl_reset(channel);
if (channel >= sdram_params->num_channels)
continue;
pctl_cfg(channel, sdram_params);
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment