diff --git a/indra/llrender/llgltexture.cpp b/indra/llrender/llgltexture.cpp
index 5f580da23d..3a6eebebba 100644
--- a/indra/llrender/llgltexture.cpp
+++ b/indra/llrender/llgltexture.cpp
@@ -131,13 +131,6 @@ void LLGLTexture::setActive()
{
mTextureState = ACTIVE ;
}
-
- // Try to plug the profile icon memory hole
- if (mBoostLevel == BOOST_ICON)
- {
- setNoDelete();
- }
- //
}
//set the texture to stay in memory
diff --git a/indra/newview/llviewertexture.cpp b/indra/newview/llviewertexture.cpp
index 7e2ce2421e..da29f3f9e0 100755
--- a/indra/newview/llviewertexture.cpp
+++ b/indra/newview/llviewertexture.cpp
@@ -1294,10 +1294,7 @@ void LLViewerFetchedTexture::setDeletionCandidate()
//set the texture inactive
void LLViewerFetchedTexture::setInactive()
{
- // Try to plug the profile icon memory hole
- //if(mTextureState == ACTIVE && mGLTexturep.notNull() && mGLTexturep->getTexName() && !mGLTexturep->getBoundRecently())
- if((mTextureState == ACTIVE || (mTextureState == NO_DELETE && mBoostLevel == BOOST_ICON)) && mGLTexturep.notNull() && mGLTexturep->getTexName() && !mGLTexturep->getBoundRecently())
- //
+ if(mTextureState == ACTIVE && mGLTexturep.notNull() && mGLTexturep->getTexName() && !mGLTexturep->getBoundRecently())
{
mTextureState = INACTIVE;
}