diff --git a/indra/newview/CMakeLists.txt b/indra/newview/CMakeLists.txt
index b97b3cc3006834cdd847a3a38f5a44b91aefa979..b569808a063188fbd002400195b5a111c63b5558 100644
--- a/indra/newview/CMakeLists.txt
+++ b/indra/newview/CMakeLists.txt
@@ -337,7 +337,6 @@ set(viewer_SOURCE_FILES
     llmarketplacenotifications.cpp
     llmediactrl.cpp
     llmediadataclient.cpp
-    llmemoryview.cpp
     llmenuoptionpathfindingrebakenavmesh.cpp
     llmeshrepository.cpp
     llmimetypes.cpp
@@ -914,7 +913,6 @@ set(viewer_HEADER_FILES
     llmarketplacenotifications.h
     llmediactrl.h
     llmediadataclient.h
-    llmemoryview.h
     llmenuoptionpathfindingrebakenavmesh.h
     llmeshrepository.h
     llmimetypes.h
diff --git a/indra/newview/pipeline.cpp b/indra/newview/pipeline.cpp
index 579fc6d1045c6d0a1dbe3c8e6ac5abf1d0dcad7a..2bcbc0b08361dafa0f146ac5aa2c3e5a5a11660c 100644
--- a/indra/newview/pipeline.cpp
+++ b/indra/newview/pipeline.cpp
@@ -861,8 +861,6 @@ bool LLPipeline::doAllocateScreenBuffer(U32 resX, U32 resY)
 	}
 
 	return ret;
-
-	return ret;
 }
 
 bool LLPipeline::allocateScreenBuffer(U32 resX, U32 resY, U32 samples)