mm/gup: Switch all callers of get_user_pages() to not pass tsk/mm
[cascardo/linux.git] / drivers / misc / mic / scif / scif_rma.c
index 8310b4d..0fa0d24 100644 (file)
@@ -1394,8 +1394,6 @@ retry:
                }
 
                pinned_pages->nr_pages = get_user_pages(
-                               current,
-                               mm,
                                (u64)addr,
                                nr_pages,
                                !!(prot & SCIF_PROT_WRITE),