diff --git a/mozilla/content/html/document/src/nsHTMLDocument.cpp b/mozilla/content/html/document/src/nsHTMLDocument.cpp
index a9bf4b6200b..8554609cbc0 100644
--- a/mozilla/content/html/document/src/nsHTMLDocument.cpp
+++ b/mozilla/content/html/document/src/nsHTMLDocument.cpp
@@ -3623,21 +3623,18 @@ nsHTMLDocument::CreateAndAddWyciwygChannel(void)
nsresult
nsHTMLDocument::RemoveWyciwygChannel(void)
{
- nsresult rv = NS_OK;
-
nsCOMPtr loadGroup = GetDocumentLoadGroup();
// note there can be a write request without a load group if
// this is a synchronously constructed about:blank document
if (loadGroup && mWyciwygChannel) {
mWyciwygChannel->CloseCacheEntry(NS_OK);
- rv = loadGroup->RemoveRequest(mWyciwygChannel, nsnull, NS_OK);
- NS_ENSURE_SUCCESS(rv, rv);
+ loadGroup->RemoveRequest(mWyciwygChannel, nsnull, NS_OK);
}
mWyciwygChannel = nsnull;
- return rv;
+ return NS_OK;
}
void *