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:
parent
18f705fae3
commit
87aad73494
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue