[Spice-devel] [PATCH qxl-wddm-dod 02/12] Remove unused DebugPrintFunc function

Frediano Ziglio fziglio at redhat.com
Wed Apr 12 13:19:49 UTC 2017


Signed-off-by: Frediano Ziglio <fziglio at redhat.com>
---
 qxldod/driver.cpp | 7 -------
 qxldod/driver.h   | 1 -
 2 files changed, 8 deletions(-)

diff --git a/qxldod/driver.cpp b/qxldod/driver.cpp
index 4e46d51..b6a9b95 100755
--- a/qxldod/driver.cpp
+++ b/qxldod/driver.cpp
@@ -766,13 +766,6 @@ void DebugPrintFuncSerial(const char *format, ...)
     }
 }
 
-void DebugPrintFunc(const char *format, ...)
-{
-    va_list list;
-    va_start(list, format);
-    vDbgPrintEx(DPFLTR_DEFAULT_ID, 9 | DPFLTR_MASK, format, list);
-}
-
 void DebugPrint(int level, const char *fmt, ...)
 {
     static const ULONG xlate[] = { 0, 0, 1, 2, 3 };
diff --git a/qxldod/driver.h b/qxldod/driver.h
index 2dcbda4..d92f5c8 100755
--- a/qxldod/driver.h
+++ b/qxldod/driver.h
@@ -236,7 +236,6 @@ DodGetScanLine(
 
 extern int nDebugLevel;
 void DebugPrintFuncSerial(const char *format, ...);
-void DebugPrintFunc(const char *format, ...);
 void DebugPrint(int level, const char *fmt, ...);
 
 #define DbgExpandArguments(...) __VA_ARGS__
-- 
2.9.3



More information about the Spice-devel mailing list