Remove superflous test done a few lines above already.

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@43014 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Michael Lotz 2011-10-30 20:37:15 +00:00
parent 8aab28f19b
commit d3fdd8b180

View File

@ -2250,7 +2250,7 @@ idle_scan_active_pages(page_stats& pageStats)
if (cache == NULL)
continue;
if (cache == NULL || page->State() != PAGE_STATE_ACTIVE) {
if (page->State() != PAGE_STATE_ACTIVE) {
// page is no longer in the cache or in this queue
cache->ReleaseRefAndUnlock();
continue;