commit | 4b8c44e39c9eb1717831e3b3f31c33e0932b0767 | [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 | 06653c701040f34e05d587bf14c2600f8cb3460f [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>