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>
debug_cond(DLEVEL == 2, "%s:%d p: ptap=%u\n",
__func__, __LINE__, p);
- } else {
- /*
- * Step 3-5b: Find the right edge of the window
- * using delay taps.
- */
- debug_cond(DLEVEL == 2,
- "%s:%d ptap=%u dtap=%u bgn=%u\n",
- __func__, __LINE__, p, d, work_bgn);
-
- work_end = work_bgn;
}
/* The dtap increment to find the failing edge is done here. */