s390/mm: Remove superfluous parameter

"Linux Kernel Mailing List" <[email protected]> Sat, 10 Feb 2018 22:00:22 +0000 (UTC)
Newsgroups gmane.linux.kernel.commits.head
Message-ID <[email protected]>
Web:        https://git.kernel.org/torvalds/c/c0b4bd219124fdb7306fb67b571aff4c56a5e8f9
Commit:     c0b4bd219124fdb7306fb67b571aff4c56a5e8f9
Parent:     a9f6c9a92f3771000493f6bbacbd7677b46d8706
Refname:    refs/heads/master
Author:     Janosch Frank <[email protected]>
AuthorDate: Wed Dec 13 13:53:22 2017 +0100
Committer:  Christian Borntraeger <[email protected]>
CommitDate: Tue Jan 23 12:38:27 2018 +0100

    s390/mm: Remove superfluous parameter
    
    It seems it hasn't even been used before the last cleanup and was
    overlooked.
    
    Signed-off-by: Janosch Frank <[email protected]>
    Message-Id: <[email protected]>
    Reviewed-by: David Hildenbrand <[email protected]>
    Signed-off-by: Christian Borntraeger <[email protected]>
---
 arch/s390/mm/gmap.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/arch/s390/mm/gmap.c b/arch/s390/mm/gmap.c
index 54cfd51a5a27..4e9d12af95cc 100644
--- a/arch/s390/mm/gmap.c
+++ b/arch/s390/mm/gmap.c
@@ -1998,7 +1998,7 @@ EXPORT_SYMBOL_GPL(gmap_shadow_page);
  * Called with sg->parent->shadow_lock.
  */
 static void gmap_shadow_notify(struct gmap *sg, unsigned long vmaddr,
-			       unsigned long gaddr, pte_t *pte)
+			       unsigned long gaddr)
 {
 	struct gmap_rmap *rmap, *rnext, *head;
 	unsigned long start, end, bits, raddr;
@@ -2083,7 +2083,7 @@ void ptep_notify(struct mm_struct *mm, unsigned long vmaddr,
 			spin_lock(&gmap->shadow_lock);
 			list_for_each_entry_safe(sg, next,
 						 &gmap->children, list)
-				gmap_shadow_notify(sg, vmaddr, gaddr, pte);
+				gmap_shadow_notify(sg, vmaddr, gaddr);
 			spin_unlock(&gmap->shadow_lock);
 		}
 		if (bits & PGSTE_IN_BIT)
--
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html