vfio/mdev: Remove duplicate storage of parent in mdev_device
[linux-2.6-microblaze.git] / mm / page_io.c
index 485fa5c..c493ce9 100644 (file)
@@ -254,11 +254,6 @@ out:
        return ret;
 }
 
-static sector_t swap_page_sector(struct page *page)
-{
-       return (sector_t)__page_file_index(page) << (PAGE_SHIFT - 9);
-}
-
 static inline void count_swpout_vm_event(struct page *page)
 {
 #ifdef CONFIG_TRANSPARENT_HUGEPAGE