From d568e539a672e808fe4601e79b92925660edbac6 Mon Sep 17 00:00:00 2001 From: Thomas Haller Date: Mon, 2 Feb 2015 12:31:31 +0100 Subject: [PATCH] dhcp/trivial: remove code comment dcbw added a comment line and submitted the patch to systemd. The patch was merged without the comment. Remove it also from our version, to make the file more similar to what systemd has. --- .../systemd-dhcp/src/libsystemd-network/sd-dhcp-client.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/dhcp-manager/systemd-dhcp/src/libsystemd-network/sd-dhcp-client.c b/src/dhcp-manager/systemd-dhcp/src/libsystemd-network/sd-dhcp-client.c index a5d1539051..4a2792cca7 100644 --- a/src/dhcp-manager/systemd-dhcp/src/libsystemd-network/sd-dhcp-client.c +++ b/src/dhcp-manager/systemd-dhcp/src/libsystemd-network/sd-dhcp-client.c @@ -415,8 +415,6 @@ static int client_message_init(sd_dhcp_client *client, DHCPPacket **ret, assert(_optoffset); assert(type == DHCP_DISCOVER || type == DHCP_REQUEST); - /* See RFC2131 section 4.4.1 */ - optlen = DHCP_MIN_OPTIONS_SIZE; size = sizeof(DHCPPacket) + optlen;