From 56065db4214a62a4d9ed4465333fcded35322aa8 Mon Sep 17 00:00:00 2001 From: Ronny Chevalier Date: Mon, 21 Sep 2015 16:51:31 +0200 Subject: 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. --- src/libsystemd-network/sd-ipv4ll.c | 1 - 1 file changed, 1 deletion(-) (limited to 'src') 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) -- cgit v1.2.3-54-g00ecf