1
1
mirror of https://github.com/systemd/systemd-stable.git synced 2024-12-23 17:34:00 +03:00

sd-ipv4ll: do not assert_return when seed == 0

Now that seed is an unsigned and not an array, we do not need to assert
on it.
This commit is contained in:
Ronny Chevalier 2015-09-21 16:51:31 +02:00
parent a1b7a5bbdd
commit 56065db421

View File

@ -202,7 +202,6 @@ int sd_ipv4ll_set_address_seed(sd_ipv4ll *ll, unsigned seed) {
int r;
assert_return(ll, -EINVAL);
assert_return(seed, -EINVAL);
random_data = new0(struct random_data, 1);
if (!random_data)