X-Git-Url: http://git.liburcu.org/?a=blobdiff_plain;f=liblttng-ust%2Fust-core.c;h=60cdbfa91a2c876f5d5ae05db7a6ceae2a065df6;hb=ee7fcec8c059c5b203d6aa5df7ceef414a55505c;hp=f9c00ff07bda1d72bea3f42d1ad5d999023ca908;hpb=7dd08bec735b428479201f9f84d59c78deabdf57;p=lttng-ust.git diff --git a/liblttng-ust/ust-core.c b/liblttng-ust/ust-core.c index f9c00ff0..60cdbfa9 100644 --- a/liblttng-ust/ust-core.c +++ b/liblttng-ust/ust-core.c @@ -24,19 +24,6 @@ static CDS_LIST_HEAD(lttng_transport_list); -void init_usterr(void) -{ - char *ust_debug; - - if (ust_loglevel == UST_LOGLEVEL_UNKNOWN) { - ust_debug = getenv("LTTNG_UST_DEBUG"); - if (ust_debug) - ust_loglevel = UST_LOGLEVEL_DEBUG; - else - ust_loglevel = UST_LOGLEVEL_NORMAL; - } -} - struct lttng_transport *lttng_transport_find(const char *name) { struct lttng_transport *transport;