]> git.baikalelectronics.ru Git - kernel.git/commit
mm/memory: remove unnecessary pte_devmap case in copy_one_pte()
authorchenqiwu <chenqiwu@xiaomi.com>
Tue, 2 Jun 2020 04:50:08 +0000 (21:50 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Tue, 2 Jun 2020 17:59:10 +0000 (10:59 -0700)
commitbf8dbd94f76eb9b38c561080dbe8818d1598c8e8
tree12eb41f340f5326a2d418fbfa1e9546ab400c751
parenta847dd7aad94488a4fdd0d51b473506c8355701e
mm/memory: remove unnecessary pte_devmap case in copy_one_pte()

Since commit 82513c064f7b ("mm: remove MEMORY_DEVICE_PUBLIC support"),
the assignment to 'page' for pte_devmap case has been unnecessary.
Let's remove it.

[willy@infradead.org: changelog]
Signed-off-by: chenqiwu <chenqiwu@xiaomi.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Reviewed-by: Matthew Wilcox <willy@infradead.org>
Acked-by: Michal Hocko <mhocko@suse.com>
Link: http://lkml.kernel.org/r/1587349685-31712-1-git-send-email-qiwuchen55@gmail.com
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
mm/memory.c