Removed an extraneous QI from nsCacheEntry::Open()

This commit is contained in:
darin%netscape.com 2001-02-28 04:28:15 +00:00
parent bf273ef14c
commit 004b919287

View File

@ -183,16 +183,11 @@ nsCacheEntry::Open(nsCacheRequest * request, nsICacheEntryDescriptor ** result)
NS_ADDREF(*result = descriptor);
rv = descriptor->QueryInterface(NS_GET_IID(nsICacheEntryDescriptor),
(void**)result);
if (NS_SUCCEEDED(rv)) {
// queue the descriptor
PR_APPEND_LINK((descriptor)->GetListNode(), &mDescriptorQ);
}
NS_RELEASE(descriptor);
} else if (rv == NS_ERROR_CACHE_WAIT_FOR_VALIDATION) {
// queue request
PR_APPEND_LINK(request->GetListNode(), &mRequestQ);