diff options
| author | Marek Vasut <[email protected]> | 2026-03-25 02:07:12 +0100 |
|---|---|---|
| committer | Jerome Forissier <[email protected]> | 2026-03-31 16:54:49 +0200 |
| commit | d63e58c5f030785c17607f00cbec354e6d84e733 (patch) | |
| tree | 40dbee13313e405b083dfc764c667330c2e4d46c | |
| parent | b3e303b60f39149085a21d7c4bbc5138d4506a70 (diff) | |
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 <[email protected]>
Reviewed-by: Heiko Schocher <[email protected]>
Reviewed-by: Kory Maincent <[email protected]>
Reviewed-by: Ilias Apalodimas <[email protected]>
| -rw-r--r-- | net/bootp.c | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/net/bootp.c b/net/bootp.c index 1d905a01a47..8976936b184 100644 --- a/net/bootp.c +++ b/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) |
