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:52:52 +02:00
parent a1b7a5bbdd
commit 56065db421
-1
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)