Signed-off-by: Frediano Ziglio <fziglio@xxxxxxxxxx> --- qxldod/QxlDod.cpp | 11 ----------- qxldod/QxlDod.h | 1 - 2 files changed, 12 deletions(-) diff --git a/qxldod/QxlDod.cpp b/qxldod/QxlDod.cpp index 4b27b9c..2294a81 100755 --- a/qxldod/QxlDod.cpp +++ b/qxldod/QxlDod.cpp @@ -3916,17 +3916,6 @@ void QxlDevice::FlushReleaseRing() DbgPrint(TRACE_LEVEL_VERBOSE, ("<--- %s\n", __FUNCTION__)); } -void QxlDevice::EmptyReleaseRing() -{ - PAGED_CODE(); - BOOLEAN locked = FALSE; - locked = WaitForObject(&m_MemLock, NULL); - while (m_FreeOutputs || !SPICE_RING_IS_EMPTY(m_ReleaseRing)) { - FlushReleaseRing(); - } - ReleaseMutex(&m_MemLock, locked); -} - UINT64 QxlDevice::ReleaseOutput(UINT64 output_id) { PAGED_CODE(); diff --git a/qxldod/QxlDod.h b/qxldod/QxlDod.h index 90d7937..0914e76 100755 --- a/qxldod/QxlDod.h +++ b/qxldod/QxlDod.h @@ -518,7 +518,6 @@ private: void FreeMem(UINT32 mspace_type, void *ptr); UINT64 ReleaseOutput(UINT64 output_id); void WaitForReleaseRing(void); - void EmptyReleaseRing(void); BOOL SetClip(const RECT *clip, QXLDrawable *drawable); void AddRes(QXLOutput *output, Resource *res); void DrawableAddRes(QXLDrawable *drawable, Resource *res); -- 2.7.4 _______________________________________________ Spice-devel mailing list Spice-devel@xxxxxxxxxxxxxxxxxxxxx https://lists.freedesktop.org/mailman/listinfo/spice-devel