Remove unused EmptyReleaseRing method
Signed-off-by: Frediano Ziglio <fziglio@redhat.com> Acked-by: Yuri Benditovich <yuri.benditovich@daynix.com>
This commit is contained in:
parent
9aaae88e4a
commit
06ef003435
@ -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();
|
||||
|
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user