dcavalca / rpms / qemu

Forked from rpms/qemu a year ago
Clone
Blob Blame History Raw
From a5d6e7e76bf5f5fb0e2c8232ddca2b850bfc1afa Mon Sep 17 00:00:00 2001
From: Gerd Hoffmann <kraxel@redhat.com>
Date: Wed, 8 Sep 2010 11:45:49 +0200
Subject: [PATCH 33/39] Revert "spice-vmc: add counter to debug statements"

This reverts commit f3ab5192a20ee9dc7776b13ec0ba75030bb52a20.
---
 hw/spice-vmc.c |    3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)

diff --git a/hw/spice-vmc.c b/hw/spice-vmc.c
index 041f243..06e30e6 100644
--- a/hw/spice-vmc.c
+++ b/hw/spice-vmc.c
@@ -23,9 +23,8 @@

 #define dprintf(_svc, _level, _fmt, ...)                                \
     do {                                                                \
-        static unsigned __dprintf_counter = 0;                          \
         if (_svc->debug >= _level) {                                    \
-            fprintf(stderr, "svc: %3d: " _fmt, ++__dprintf_counter, ## __VA_ARGS__);\
+            fprintf(stderr, "svc: " _fmt, ## __VA_ARGS__);              \
         }                                                               \
     } while (0)

-- 
1.7.2.3