git: 68bfaefb3d93 - main - linux(4): Remove unnecessary PTRIN().

From: Dmitry Chagin <dchagin_at_FreeBSD.org>
Date: Mon, 11 Apr 2022 20:32:52 UTC
The branch main has been updated by dchagin:

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

commit 68bfaefb3d93781730ebc63956538154173b77c8
Author:     Dmitry Chagin <dchagin@FreeBSD.org>
AuthorDate: 2022-04-11 20:32:02 +0000
Commit:     Dmitry Chagin <dchagin@FreeBSD.org>
CommitDate: 2022-04-11 20:32:02 +0000

    linux(4): Remove unnecessary PTRIN().
---
 sys/compat/linux/linux_socket.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/sys/compat/linux/linux_socket.c b/sys/compat/linux/linux_socket.c
index 4ba023daaba2..16e8c7dadb98 100644
--- a/sys/compat/linux/linux_socket.c
+++ b/sys/compat/linux/linux_socket.c
@@ -1589,8 +1589,8 @@ linux_recvmsg_common(struct thread *td, l_int s, struct l_msghdr *msghdr,
 	 */
 	if (msg->msg_name != NULL && msg->msg_namelen > 0) {
 		msg->msg_name = PTRIN(linux_msghdr.msg_name);
-		error = linux_copyout_sockaddr(sa,
-		    PTRIN(msg->msg_name), msg->msg_namelen);
+		error = linux_copyout_sockaddr(sa, msg->msg_name,
+		    msg->msg_namelen);
 		if (error != 0)
 			goto bad;
 	}