diff options
author | Thomas Hindoe Paaboel Andersen <phomes@gmail.com> | 2014-06-20 19:32:51 +0200 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2014-06-20 19:32:51 +0200 |
commit | 88675ae97c62dcef32c654038a9bb92fd890e408 (patch) | |
tree | 0ba1989b9b28a3d9b9423c5b64a46be139e4ca13 /src | |
parent | 9bfcda9528636914aef3e0ab91191bb81654c83d (diff) |
sd-dhcp-server: remove unused cleanup function
Removes _cleanup_dhcp_lease_free_. While the automatic cleanup
functions are great to have this one is never used and causes
a warning in clang.
Diffstat (limited to 'src')
-rw-r--r-- | src/libsystemd-network/sd-dhcp-server.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/src/libsystemd-network/sd-dhcp-server.c b/src/libsystemd-network/sd-dhcp-server.c index 5bdcf860bc..e4236e8f7d 100644 --- a/src/libsystemd-network/sd-dhcp-server.c +++ b/src/libsystemd-network/sd-dhcp-server.c @@ -105,9 +105,6 @@ static void dhcp_lease_free(DHCPLease *lease) { free(lease); } -DEFINE_TRIVIAL_CLEANUP_FUNC(DHCPLease*, dhcp_lease_free); -#define _cleanup_dhcp_lease_free_ _cleanup_(dhcp_lease_freep) - sd_dhcp_server *sd_dhcp_server_unref(sd_dhcp_server *server) { DHCPLease *lease; |