From 67e392beb977b1929b4db5a406a3051389ea3158 Mon Sep 17 00:00:00 2001 From: Patrick McHardy Date: Mon, 12 Jan 2015 09:51:05 +0000 Subject: set: remove unused set_clone() function The set_clone() function was added by the event monitor patchset and is unused. It is also broken since it simply initializes the list head to the list of the original set, so remove it. Signed-off-by: Patrick McHardy --- include/rule.h | 1 - 1 file changed, 1 deletion(-) (limited to 'include/rule.h') diff --git a/include/rule.h b/include/rule.h index 0c523155..491411eb 100644 --- a/include/rule.h +++ b/include/rule.h @@ -203,7 +203,6 @@ struct set { extern struct set *set_alloc(const struct location *loc); extern struct set *set_get(struct set *set); extern void set_free(struct set *set); -extern struct set *set_clone(const struct set *set); extern void set_add_hash(struct set *set, struct table *table); extern struct set *set_lookup(const struct table *table, const char *name); extern struct set *set_lookup_global(uint32_t family, const char *table, -- cgit v1.2.3