File tree Expand file tree Collapse file tree 1 file changed +1
-2
lines changed
shared/source/os_interface/linux Expand file tree Collapse file tree 1 file changed +1
-2
lines changed Original file line number Diff line number Diff line change @@ -702,7 +702,7 @@ GraphicsAllocation *DrmMemoryManager::createPaddedAllocation(GraphicsAllocation
702702
703703void DrmMemoryManager::addAllocationToHostPtrManager (GraphicsAllocation *gfxAllocation) {
704704 DrmAllocation *drmMemory = static_cast <DrmAllocation *>(gfxAllocation);
705- auto maxOsContextCount = 1u ;
705+
706706 FragmentStorage fragment = {};
707707 fragment.driverAllocation = true ;
708708 fragment.fragmentCpuPointer = gfxAllocation->getUnderlyingBuffer ();
@@ -812,7 +812,6 @@ MemoryManager::AllocationStatus DrmMemoryManager::populateOsHandles(OsHandleStor
812812 BufferObject *allocatedBos[maxFragmentsCount];
813813 uint32_t numberOfBosAllocated = 0 ;
814814 uint32_t indexesOfAllocatedBos[maxFragmentsCount];
815- auto maxOsContextCount = 1u ;
816815
817816 for (unsigned int i = 0 ; i < maxFragmentsCount; i++) {
818817 // If there is no fragment it means it already exists.
You can’t perform that action at this time.
0 commit comments