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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxx>
---
 utest/trace-utest.c | 5 -----
 1 file changed, 5 deletions(-)

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]));
-- 
2.31.1




[Index of Archives]     [Linux USB Development]     [Linux USB Development]     [Linux Audio Users]     [Yosemite Hiking]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux