venice: Simplify conditions for network init
authorSimon Glass <sjg@chromium.org>
Wed, 22 Feb 2023 16:34:24 +0000 (09:34 -0700)
committerTom Rini <trini@konsulko.com>
Fri, 3 Mar 2023 14:49:02 +0000 (09:49 -0500)
commit9c097f8139d0c6bd510c7b83dd175f693c62e85c
tree81bc8c3e9d382393a696dfa62a11c8d82ec1b78c
parentd36d5b0c1f6f4ce4d784a1f6aa3afbe2a69cd2c6
venice: Simplify conditions for network init

The conditions in this code do not align when doing an SPL build with
split config. Use __maybe_unused to avoid needing to be so explicit.

Of course a better solution would be to refactor all of this to avoid
using #ifdef.

Signed-off-by: Simon Glass <sjg@chromium.org>
board/gateworks/venice/venice.c