Move m_Type to a local variable
BaseQueue class has a member function GetQueueType so m_Type is duplicated. m_Type is only used in one function. Move it to a local variable. Change-Id: Ice144cf723178dd628cb49261c23d10605f9ee7d Signed-off-by: Oak Zeng <Oak.Zeng@amd.com>
Этот коммит содержится в:
@@ -95,7 +95,6 @@ class BaseQueue {
|
||||
unsigned int CMD_NOP;
|
||||
unsigned int m_pendingWptr;
|
||||
HSAuint64 m_pendingWptr64;
|
||||
HSA_QUEUE_TYPE m_Type;
|
||||
HsaQueueResource m_Resources;
|
||||
HsaMemoryBuffer *m_QueueBuf;
|
||||
unsigned int m_Node;
|
||||
|
||||
Ссылка в новой задаче
Block a user