diff options
author | Michael Brown | 2010-11-30 01:22:49 +0100 |
---|---|---|
committer | Michael Brown | 2011-01-10 04:39:26 +0100 |
commit | 6cee8904d1d26cd3503018e9514b8671a9b0a860 (patch) | |
tree | c7aa6a5cc3b6ba870d6a54fe92ebe99ee4c046a7 /src/net/dhcpopts.c | |
parent | [hermon] Fix incorrectly-padded sense_port structure (diff) | |
download | ipxe-6cee8904d1d26cd3503018e9514b8671a9b0a860.tar.gz ipxe-6cee8904d1d26cd3503018e9514b8671a9b0a860.tar.xz ipxe-6cee8904d1d26cd3503018e9514b8671a9b0a860.zip |
[dhcp] Remove redundant length fields in struct dhcp_packet
The max_len field is never used, and the len field is used only by
dhcp_tx(). Remove these two fields, and perform the necessary trivial
calculation in dhcp_tx() instead.
Signed-off-by: Michael Brown <mcb30@ipxe.org>
Diffstat (limited to 'src/net/dhcpopts.c')
0 files changed, 0 insertions, 0 deletions