mirror of
https://source.denx.de/u-boot/u-boot.git
synced 2026-06-02 09:46:37 +03:00
net: bootp: Drop unused code
This code is surely unused and there are not even commented out references to the function name. Drop the code. Signed-off-by: Marek Vasut <marek.vasut+renesas@mailbox.org> Reviewed-by: Heiko Schocher <hs@nabladev.com> Reviewed-by: Kory Maincent <kory.maincent@bootlin.com> Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
This commit is contained in:
committed by
Jerome Forissier
parent
b3e303b60f
commit
d63e58c5f0
17
net/bootp.c
17
net/bootp.c
@@ -87,23 +87,6 @@ static u8 dhcp_option_overload;
|
||||
#define OVERLOAD_SNAME 2
|
||||
static void dhcp_handler(uchar *pkt, unsigned dest, struct in_addr sip,
|
||||
unsigned src, unsigned len);
|
||||
|
||||
/* For Debug */
|
||||
#if 0
|
||||
static char *dhcpmsg2str(int type)
|
||||
{
|
||||
switch (type) {
|
||||
case 1: return "DHCPDISCOVER"; break;
|
||||
case 2: return "DHCPOFFER"; break;
|
||||
case 3: return "DHCPREQUEST"; break;
|
||||
case 4: return "DHCPDECLINE"; break;
|
||||
case 5: return "DHCPACK"; break;
|
||||
case 6: return "DHCPNACK"; break;
|
||||
case 7: return "DHCPRELEASE"; break;
|
||||
default: return "UNKNOWN/INVALID MSG TYPE"; break;
|
||||
}
|
||||
}
|
||||
#endif
|
||||
#endif
|
||||
|
||||
static void bootp_add_id(ulong id)
|
||||
|
||||
Reference in New Issue
Block a user