diff options
author | Toomas Soome <tsoome@FreeBSD.org> | 2017-12-06 06:49:53 +0000 |
---|---|---|
committer | Toomas Soome <tsoome@FreeBSD.org> | 2017-12-06 06:49:53 +0000 |
commit | 78fdf7f396615b49f2037f5bd1efc9807410a62b (patch) | |
tree | 177e633da54808f095847d24e7b84440438adfb4 /stand | |
parent | cb37fc82b1f7b2eb79bdf5534cddd3a5029bd753 (diff) | |
download | src-78fdf7f396615b49f2037f5bd1efc9807410a62b.tar.gz src-78fdf7f396615b49f2037f5bd1efc9807410a62b.zip |
dhcp_try_rfc1048() is not used any more
Remove unused function.
Reviewed by: imp
Differential Revision: https://reviews.freebsd.org/D13382
Notes
Notes:
svn path=/head/; revision=326616
Diffstat (limited to 'stand')
-rw-r--r-- | stand/libsa/bootp.c | 11 | ||||
-rw-r--r-- | stand/libsa/bootp.h | 2 |
2 files changed, 0 insertions, 13 deletions
diff --git a/stand/libsa/bootp.c b/stand/libsa/bootp.c index d770bf3bf516..c138e46f6458 100644 --- a/stand/libsa/bootp.c +++ b/stand/libsa/bootp.c @@ -355,17 +355,6 @@ bad: return (-1); } -int -dhcp_try_rfc1048(u_char *cp, u_int len) -{ - - expected_dhcpmsgtype = DHCPACK; - if (bcmp(vm_rfc1048, cp, sizeof(vm_rfc1048)) == 0) { - return (vend_rfc1048(cp, len)); - } - return (-1); -} - static int vend_rfc1048(u_char *cp, u_int len) { diff --git a/stand/libsa/bootp.h b/stand/libsa/bootp.h index 2e7049b872af..fd99b775f14c 100644 --- a/stand/libsa/bootp.h +++ b/stand/libsa/bootp.h @@ -146,6 +146,4 @@ struct cmu_vend { extern struct bootp *bootp_response; extern size_t bootp_response_size; -int dhcp_try_rfc1048(u_char *cp, u_int len); - #endif /* _BOOTP_H_ */ |