projects
/
linux-2.6-microblaze.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
mm: remove redundant check non_swap_entry()
[linux-2.6-microblaze.git]
/
mm
/
memory.c
diff --git
a/mm/memory.c
b/mm/memory.c
index
0da48f6
..
f4f27b9
100644
(file)
--- a/
mm/memory.c
+++ b/
mm/memory.c
@@
-1098,7
+1098,7
@@
again:
}
entry = pte_to_swp_entry(ptent);
- if (
non_swap_entry(entry) &&
is_device_private_entry(entry)) {
+ if (is_device_private_entry(entry)) {
struct page *page = device_private_entry_to_page(entry);
if (unlikely(details && details->check_mapping)) {