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:
parent
a1b7a5bbdd
commit
56065db421
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user