diff mbox series

[v2,3/3] libtracefs: Remove dummy tep_vwarning() from unit tests

Message ID 20210507095154.1080202-4-tz.stoyanov@gmail.com (mailing list archive)
State Accepted
Commit db5624f2f9d3ee43b4ed2b64f2c82d76c2643764
Headers show
Series Add API to set severity to tracefs library logs | expand

Commit Message

Tzvetomir Stoyanov (VMware) May 7, 2021, 9:51 a.m. UTC
As the trace libraries have log levels, there is no need to implement a
dummy log function in order to silence the libraries logs.

Signed-off-by: Tzvetomir Stoyanov (VMware) <tz.stoyanov@gmail.com>
---
 utest/trace-utest.c | 5 -----
 1 file changed, 5 deletions(-)
diff mbox series

Patch

diff --git a/utest/trace-utest.c b/utest/trace-utest.c
index ee11826..58d4d4e 100644
--- a/utest/trace-utest.c
+++ b/utest/trace-utest.c
@@ -19,11 +19,6 @@  enum unit_tests {
 	RUN_ALL		= 0xFFFF
 };
 
-int tep_vwarning(const char *name, const char *fmt, va_list ap)
-{
-	return 0;
-}
-
 static void print_help(char **argv)
 {
 	printf("Usage: %s [OPTIONS]\n", basename(argv[0]));