From 6af9d2ff16fab548ee653822413e3bd4ea45fa61 Mon Sep 17 00:00:00 2001 From: denny Date: Tue, 23 Mar 2021 10:35:23 +0800 Subject: [PATCH] remove unuse code Change-Id: I608a6e18aad240c52398d744191f6df4bdd68cb5 --- kernel/base/vm/los_vm_filemap.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/kernel/base/vm/los_vm_filemap.c b/kernel/base/vm/los_vm_filemap.c index 7c2bd8c5..e2ff4d59 100755 --- a/kernel/base/vm/los_vm_filemap.c +++ b/kernel/base/vm/los_vm_filemap.c @@ -61,8 +61,6 @@ STATIC VOID OsPageCacheAdd(LosFilePage *page, struct page_mapping *mapping, VM_O } LOS_ListTailInsert(&mapping->page_list, &page->node); - //comment out code with no effect - //OsSetPageLRU(page->vmPage); done_add: mapping->nrpages++;