diff options
author | Ronny Chevalier <chevalier.ronny@gmail.com> | 2015-09-21 16:51:31 +0200 |
---|---|---|
committer | Ronny Chevalier <chevalier.ronny@gmail.com> | 2015-09-21 16:52:52 +0200 |
commit | 56065db4214a62a4d9ed4465333fcded35322aa8 (patch) | |
tree | bff3ccfec6b2084eba6cbd1734a170ed8fe46c43 /src | |
parent | a1b7a5bbdd8da94e41b5e79be7a6e853ae910d2b (diff) |
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.
Diffstat (limited to 'src')
-rw-r--r-- | src/libsystemd-network/sd-ipv4ll.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/libsystemd-network/sd-ipv4ll.c b/src/libsystemd-network/sd-ipv4ll.c index f0230b919c..f065e3e3e0 100644 --- a/src/libsystemd-network/sd-ipv4ll.c +++ b/src/libsystemd-network/sd-ipv4ll.c @@ -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) |