Date: Fri, 18 Aug 2006 07:42:20 GMT From: Roman Divacky <rdivacky@FreeBSD.org> To: Perforce Change Reviews <perforce@FreeBSD.org> Subject: PERFORCE change 104462 for review Message-ID: <200608180742.k7I7gKv0060159@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=104462 Change 104462 by rdivacky@rdivacky_witten on 2006/08/18 07:41:56 Remove redundant casts. Affected files ... .. //depot/projects/soc2006/rdivacky_linuxolator/compat/linux/linux_emul.c#12 edit Differences ... ==== //depot/projects/soc2006/rdivacky_linuxolator/compat/linux/linux_emul.c#12 (text+ko) ==== @@ -82,14 +82,14 @@ if (child != 0) { /* non-exec call */ - em = (struct linux_emuldata *) malloc(sizeof *em, M_LINUX, M_WAITOK | M_ZERO); + em = malloc(sizeof *em, M_LINUX, M_WAITOK | M_ZERO); em->pid = child; if (flags & CLONE_VM) { /* handled later in the code */ } else { struct linux_emuldata_shared *s; - s = (struct linux_emuldata_shared *) malloc(sizeof *s, M_LINUX, M_WAITOK | M_ZERO); + s = malloc(sizeof *s, M_LINUX, M_WAITOK | M_ZERO); em->shared = s; s->refs = 1; s->group_pid = child;
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200608180742.k7I7gKv0060159>