git: ece62f611720 - stable/13 - linux: drop unneeded casts

From: Dmitry Chagin <dchagin_at_FreeBSD.org>
Date: Fri, 17 Jun 2022 19:23:59 UTC
The branch stable/13 has been updated by dchagin:

URL: https://cgit.FreeBSD.org/src/commit/?id=ece62f6117205d5dcc52d6ab6e12cdac3eeb258a

commit ece62f6117205d5dcc52d6ab6e12cdac3eeb258a
Author:     Edward Tomasz Napierala <trasz@FreeBSD.org>
AuthorDate: 2021-02-15 12:34:10 +0000
Commit:     Dmitry Chagin <dchagin@FreeBSD.org>
CommitDate: 2022-06-17 19:22:12 +0000

    linux: drop unneeded casts
    
    No functional changes.
    
    Sponsored By:   The FreeBSD Foundation
    Differential Revision: https://reviews.freebsd.org/D28533
    
    (cherry picked from commit cc743b050acf59862b268296d50923d6e5f0e86f)
---
 sys/amd64/linux/linux_machdep.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/sys/amd64/linux/linux_machdep.c b/sys/amd64/linux/linux_machdep.c
index c19d80b3b9a7..c2f841707974 100644
--- a/sys/amd64/linux/linux_machdep.c
+++ b/sys/amd64/linux/linux_machdep.c
@@ -136,7 +136,7 @@ int
 linux_mmap2(struct thread *td, struct linux_mmap2_args *args)
 {
 
-	return (linux_mmap_common(td, PTROUT(args->addr), args->len, args->prot,
+	return (linux_mmap_common(td, args->addr, args->len, args->prot,
 		args->flags, args->fd, args->pgoff));
 }
 
@@ -144,14 +144,14 @@ int
 linux_mprotect(struct thread *td, struct linux_mprotect_args *uap)
 {
 
-	return (linux_mprotect_common(td, PTROUT(uap->addr), uap->len, uap->prot));
+	return (linux_mprotect_common(td, uap->addr, uap->len, uap->prot));
 }
 
 int
 linux_madvise(struct thread *td, struct linux_madvise_args *uap)
 {
 
-	return (linux_madvise_common(td, PTROUT(uap->addr), uap->len, uap->behav));
+	return (linux_madvise_common(td, uap->addr, uap->len, uap->behav));
 }
 
 int