On Fri, 24 Feb 2023 at 11:11, Troy Kisky <troykiskybound...@gmail.com> wrote: > > The compiler will optimize away base on IS_ENABLED(CONFIG_FEC_MXC). > It avoids an error in converting to CONFIG_IS_ENABLED(NET). > > Signed-off-by: Troy Kisky <troykiskybound...@gmail.com> > --- > > Changes in v2: > - Always define function instead of using same protection > > board/gateworks/venice/venice.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-)
Reviewed-by: Simon Glass <s...@chromium.org>