You've already forked linux-apfs
mirror of
https://github.com/linux-apfs/linux-apfs.git
synced 2026-05-01 15:00:59 -07:00
remove mm_{ptov,vtop}()
This patch removes the unused mm_{ptov,vtop}().
Signed-off-by: Adrian Bunk <bunk@kernel.org>
Acked-by: Greg Ungerer <gerg@uclinux.org>
Acked-by: Bryan Wu <bryan.wu@analog.com>
Cc: Miles Bader <miles.bader@necel.com>
Cc: Yoshinori Sato <ysato@users.sourceforge.jp>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
This commit is contained in:
committed by
Linus Torvalds
parent
7b892806b0
commit
870b8f8c43
@@ -122,8 +122,6 @@ outsl (unsigned long port, const void *src, unsigned long count)
|
||||
#endif
|
||||
|
||||
/* Conversion between virtual and physical mappings. */
|
||||
#define mm_ptov(addr) ((void *)__phys_to_virt (addr))
|
||||
#define mm_vtop(addr) ((unsigned long)__virt_to_phys (addr))
|
||||
#define phys_to_virt(addr) ((void *)__phys_to_virt (addr))
|
||||
#define virt_to_phys(addr) ((unsigned long)__virt_to_phys (addr))
|
||||
|
||||
|
||||
Reference in New Issue
Block a user