summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFrediano Ziglio <fziglio@redhat.com>2016-09-12 14:45:33 +0100
committerFrediano Ziglio <fziglio@redhat.com>2017-04-12 15:49:11 +0100
commit06ef003435afd01b3caf7aa1ea4b0c07493098c7 (patch)
treee5ae66309daddc863dc16b2cfd202a336a0ba2ab
parent9aaae88e4a4abdb93644999971d5c2aa26204010 (diff)
Remove unused EmptyReleaseRing method
Signed-off-by: Frediano Ziglio <fziglio@redhat.com> Acked-by: Yuri Benditovich <yuri.benditovich@daynix.com>
-rwxr-xr-xqxldod/QxlDod.cpp11
-rwxr-xr-xqxldod/QxlDod.h1
2 files changed, 0 insertions, 12 deletions
diff --git a/qxldod/QxlDod.cpp b/qxldod/QxlDod.cpp
index 746f53e..de79f61 100755
--- a/qxldod/QxlDod.cpp
+++ b/qxldod/QxlDod.cpp
@@ -4014,17 +4014,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 154ce80..6308ab1 100755
--- a/qxldod/QxlDod.h
+++ b/qxldod/QxlDod.h
@@ -593,7 +593,6 @@ private:
void FreeMem(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);