Remove unused function str_list_match.
authorJelmer Vernooij <jelmer@samba.org>
Mon, 20 Oct 2008 17:14:55 +0000 (19:14 +0200)
committerJelmer Vernooij <jelmer@samba.org>
Mon, 20 Oct 2008 17:14:55 +0000 (19:14 +0200)
source4/lib/torture/torture.c

index 166bb7eb8446caa8ae15b8770ebde94445d30c0a..ba7168f3fe25accd2bb0ca1758889bf94a325a9e 100644 (file)
@@ -235,19 +235,6 @@ void torture_ui_test_start(struct torture_context *context,
                context->ui_ops->test_start(context, tcase, test);
 }
 
-int str_list_match(const char *name, char **list)
-{
-       int i, ret = 0;
-       if (list == NULL)
-               return 0;
-
-       for (i = 0; list[i]; i++) {
-               if (gen_fnmatch(list[i], name) == 0)
-                       ret++;
-       }
-       return ret;
-}
-
 void torture_ui_test_result(struct torture_context *context, 
                            enum torture_result result,
                            const char *comment)