commit | 82ff5b0d46789e6da068e99500892987c503e0fd | [log] [tgz] |
---|---|---|
author | Rasmus Villemoes <rasmus.villemoes@prevas.dk> | Fri Oct 14 19:43:41 2022 +0200 |
committer | Tom Rini <trini@konsulko.com> | Mon Nov 28 13:06:14 2022 -0500 |
tree | 3ed6b3f266f90d61c0f79bd77b7eddd8f5061698 | |
parent | 932d484bd7a1270fa69e1c20b734c009b7ee8fc6 [diff] |
net: tftp: use IS_ENABLED(CONFIG_NET_TFTP_VARS) instead of #if Nothing inside this block depends on NET_TFTP_VARS to be set to parse correctly. Switch to C if() in preparation for adding code before this (to avoid a declaration-after-statement warning). Signed-off-by: Rasmus Villemoes <rasmus.villemoes@prevas.dk> [trini: Update to cover CONFIG_TFTP_PORT case as well] Signed-off-by: Tom Rini <trini@konsulko.com>