Remove unused function uri_create
[lttng-tools.git] / src / common / uri.c
index a2a5038deb54d39df0aabe297af11b0644fa6005..c735e856f3b12787106b86b0c4b184c5f075057c 100644 (file)
@@ -266,22 +266,6 @@ void uri_free(struct lttng_uri *uri)
        free(uri);
 }
 
-/*
- * Return an allocated URI.
- */
-LTTNG_HIDDEN
-struct lttng_uri *uri_create(void)
-{
-       struct lttng_uri *uri;
-
-       uri = zmalloc(sizeof(struct lttng_uri));
-       if (uri == NULL) {
-               PERROR("zmalloc uri");
-       }
-
-       return uri;
-}
-
 /*
  * Parses a string URI to a lttng_uri. This function can potentially return
  * more than one URI in uris so the size of the array is returned and uris is
This page took 0.025004 seconds and 4 git commands to generate.