Use IS_ENABLED() to avoid an extra build path. Signed-off-by: Simon Glass <sjg at chromium.org> Acked-by: Ilias Apalodimas <ilias.apalodimas at linaro.org> --- (no changes since v1) cmd/net.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) Applied to sjg/master, thanks!