X-Git-Url: https://git.lttng.org/?p=lttng-tools.git;a=blobdiff_plain;f=src%2Fcommon%2Furi.c;h=c735e856f3b12787106b86b0c4b184c5f075057c;hp=a2a5038deb54d39df0aabe297af11b0644fa6005;hb=e6f771201880c4a4dc93d03f7e4c60105d12f9dc;hpb=7aa6679a7ac0f0935dfbe63f43f1901bc2395b16 diff --git a/src/common/uri.c b/src/common/uri.c index a2a5038de..c735e856f 100644 --- a/src/common/uri.c +++ b/src/common/uri.c @@ -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