From 52e5ddce68adfe4afe3fe55ba317a2ba98d27b01 Mon Sep 17 00:00:00 2001 From: Michael Brown Date: Tue, 17 Apr 2012 11:50:11 +0100 Subject: [tftp] Allow builds without TFTP support Allow TFTP to be configured out by moving the next-server setting definition (which is used by autoboot.c) from tftp.c to settings.c. Signed-off-by: Michael Brown --- src/net/udp/tftp.c | 8 -------- 1 file changed, 8 deletions(-) (limited to 'src/net') diff --git a/src/net/udp/tftp.c b/src/net/udp/tftp.c index 7cd211e41..a2d6473c3 100644 --- a/src/net/udp/tftp.c +++ b/src/net/udp/tftp.c @@ -1214,14 +1214,6 @@ struct uri_opener mtftp_uri_opener __uri_opener = { ****************************************************************************** */ -/** TFTP server setting */ -struct setting next_server_setting __setting ( SETTING_BOOT ) = { - .name = "next-server", - .description = "TFTP server", - .tag = DHCP_EB_SIADDR, - .type = &setting_type_ipv4, -}; - /** * Apply TFTP configuration settings * -- cgit v1.2.3-55-g7522