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: Derek Basehore <dbasehore@chromium.org>
This commit is contained in:
Derek Basehore 2017-05-10 23:22:02 -07:00 committed by Caesar Wang
parent 18f705fae3
commit 87aad73494
1 changed files with 0 additions and 3 deletions

View File

@ -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);
}