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.
This commit is contained in:
Thomas Hindoe Paaboel Andersen 2014-06-20 19:32:51 +02:00 committed by Lennart Poettering
parent 9bfcda9528
commit 88675ae97c

View file

@ -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;