Module Name:    src
Committed By:   kamil
Date:           Thu Oct  3 22:29:17 UTC 2019

Modified Files:
        src/sys/kern: init_main.c

Log Message:
Remove compile-time asserts checking whether intptr_t and void* are compat

The checks were requested by core@ as a prerequisite for kevent::udata type
switch from intptr_t to void*.


To generate a diff of this commit:
cvs rdiff -u -r1.505 -r1.506 src/sys/kern/init_main.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/kern/init_main.c
diff -u src/sys/kern/init_main.c:1.505 src/sys/kern/init_main.c:1.506
--- src/sys/kern/init_main.c:1.505	Tue Sep 24 19:21:45 2019
+++ src/sys/kern/init_main.c	Thu Oct  3 22:29:17 2019
@@ -1,4 +1,4 @@
-/*	$NetBSD: init_main.c,v 1.505 2019/09/24 19:21:45 kamil Exp $	*/
+/*	$NetBSD: init_main.c,v 1.506 2019/10/03 22:29:17 kamil Exp $	*/
 
 /*-
  * Copyright (c) 2008, 2009 The NetBSD Foundation, Inc.
@@ -97,7 +97,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: init_main.c,v 1.505 2019/09/24 19:21:45 kamil Exp $");
+__KERNEL_RCSID(0, "$NetBSD: init_main.c,v 1.506 2019/10/03 22:29:17 kamil Exp $");
 
 #include "opt_ddb.h"
 #include "opt_inet.h"
@@ -250,9 +250,6 @@ static void configure2(void);
 static void configure3(void);
 void main(void);
 
-CTASSERT(sizeof(void *) == sizeof(intptr_t));
-CTASSERT(__alignof__(void *) == __alignof__(intptr_t));
-
 /*
  * System startup; initialize the world, create process 0, mount root
  * filesystem, and fork to create init and pagedaemon.  Most of the

Reply via email to