Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 9 Jan 2016 17:01:27 +0000 (UTC)
From:      Dmitry Chagin <dchagin@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-10@freebsd.org
Subject:   svn commit: r293557 - stable/10/sys/compat/linux
Message-ID:  <201601091701.u09H1Rvl048517@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: dchagin
Date: Sat Jan  9 17:01:26 2016
New Revision: 293557
URL: https://svnweb.freebsd.org/changeset/base/293557

Log:
  MFC r283453:
  
  Remove the unnecessary cast.

Modified:
  stable/10/sys/compat/linux/linux_emul.c
Directory Properties:
  stable/10/   (props changed)

Modified: stable/10/sys/compat/linux/linux_emul.c
==============================================================================
--- stable/10/sys/compat/linux/linux_emul.c	Sat Jan  9 17:00:15 2016	(r293556)
+++ stable/10/sys/compat/linux/linux_emul.c	Sat Jan  9 17:01:26 2016	(r293557)
@@ -265,7 +265,7 @@ linux_schedtail(struct thread *td)
 	child_set_tid = em->child_set_tid;
 
 	if (child_set_tid != NULL) {
-		error = copyout(&em->em_tid, (int *)child_set_tid,
+		error = copyout(&em->em_tid, child_set_tid,
 		    sizeof(em->em_tid));
 		LINUX_CTR4(clone, "schedtail(%d) %p stored %d error %d",
 		    td->td_tid, child_set_tid, em->em_tid, error);



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201601091701.u09H1Rvl048517>