Revert "n-dhcp4: work around compiler warning in n_dhcp4_socket_packet_send()"

We have now a different solution using c_errno() in packet_sendto_udp().

This reverts commit 4686e9baef.
This commit is contained in:
Thomas Haller 2021-01-19 14:48:09 +01:00
parent 5bdc36b392
commit 6af73f9d17
No known key found for this signature in database
GPG key ID: 29C2366E4DFC5728

View file

@ -348,8 +348,7 @@ static int n_dhcp4_socket_packet_send(int sockfd,
.sll_halen = halen,
};
const void *buf;
size_t n_buf;
size_t len = 0;
size_t n_buf, len;
int r;
c_assert(halen <= sizeof(haddr.sll_addr));