diff options
Diffstat (limited to 'src/libsystemd-dhcp')
-rw-r--r-- | src/libsystemd-dhcp/dhcp-client.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/libsystemd-dhcp/dhcp-client.c b/src/libsystemd-dhcp/dhcp-client.c index b9492a5a68..f6a6211022 100644 --- a/src/libsystemd-dhcp/dhcp-client.c +++ b/src/libsystemd-dhcp/dhcp-client.c @@ -260,8 +260,6 @@ static int client_notify(sd_dhcp_client *client, int event) static int client_stop(sd_dhcp_client *client, int error) { assert_return(client, -EINVAL); - assert_return(client->state != DHCP_STATE_INIT && - client->state != DHCP_STATE_INIT_REBOOT, -EALREADY); client->receive_message = sd_event_source_unref(client->receive_message); |