From 0e048ac6bffe3567be99e9e24cf739838f7dbfa5 Mon Sep 17 00:00:00 2001 From: Hans Dedecker Date: Thu, 11 Apr 2019 22:00:15 +0200 Subject: treewide: fix compiler warnings Signed-off-by: Hans Dedecker --- src/odhcpd.c | 13 ------------- 1 file changed, 13 deletions(-) (limited to 'src/odhcpd.c') diff --git a/src/odhcpd.c b/src/odhcpd.c index fafa3f6..8906384 100644 --- a/src/odhcpd.c +++ b/src/odhcpd.c @@ -300,19 +300,6 @@ struct interface* odhcpd_get_interface_by_index(int ifindex) return NULL; } -struct interface* odhcpd_get_master_interface(void) -{ - struct interface *iface; - - avl_for_each_element(&interfaces, iface, avl) { - if (iface->master) - return iface; - } - - return NULL; -} - - /* Convenience function to receive and do basic validation of packets */ static void odhcpd_receive_packets(struct uloop_fd *u, _unused unsigned int events) { -- cgit v1.2.3