X-Git-Url: https://git.lttng.org/?p=lttng-tools.git;a=blobdiff_plain;f=tests%2Funit%2Ftest_ust_data.c;h=cea322d32ddaf3a8f6bd07eb695772653758266a;hp=f0acb2f2220cc623ecf8ec49339f59cfd5f5186a;hb=92816cc33a1add3c8276839bd6335e17423577dd;hpb=d9f0c7c7ce520c309f8e7148ecaff9aacbe52b55 diff --git a/tests/unit/test_ust_data.c b/tests/unit/test_ust_data.c index f0acb2f22..cea322d32 100644 --- a/tests/unit/test_ust_data.c +++ b/tests/unit/test_ust_data.c @@ -63,19 +63,6 @@ static char random_string[RANDOM_STRING_LEN]; static struct ltt_ust_session *usess; static struct lttng_domain dom; -/* - * Stub to prevent an undefined reference in this test without having to link - * the entire tree because of a cascade of dependencies. This is not used, - * it is just there to prevent GCC from complaining. - */ -int rotate_add_channel_pending(uint64_t key, enum lttng_domain_type domain, - struct ltt_session *session) -{ - ERR("Stub called instead of the real function"); - abort(); - return -1; -} - /* * Return random string of 10 characters. * Not thread-safe.