summaryrefslogtreecommitdiff
path: root/net
diff options
context:
space:
mode:
authorMarek Vasut <[email protected]>2026-03-25 02:07:12 +0100
committerJerome Forissier <[email protected]>2026-03-31 16:54:49 +0200
commitd63e58c5f030785c17607f00cbec354e6d84e733 (patch)
tree40dbee13313e405b083dfc764c667330c2e4d46c /net
parentb3e303b60f39149085a21d7c4bbc5138d4506a70 (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]>
Diffstat (limited to 'net')
-rw-r--r--net/bootp.c17
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)