diff options
author | Rasmus Villemoes <rasmus.villemoes@prevas.dk> | 2022-10-14 19:43:41 +0200 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2022-11-28 13:06:14 -0500 |
commit | 4b8c44e39c9eb1717831e3b3f31c33e0932b0767 (patch) | |
tree | 3ed6b3f266f90d61c0f79bd77b7eddd8f5061698 /net/rarp.c | |
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>
Diffstat (limited to 'net/rarp.c')
0 files changed, 0 insertions, 0 deletions