Module Name:    src
Committed By:   riastradh
Date:           Thu Nov 15 16:58:56 UTC 2018

Modified Files:
        src/sys/arch/x86/x86: efi.c

Log Message:
No need to write any initializer here, casted or otherwise.

(Sorry about the build breakage; thanks, kre!)


To generate a diff of this commit:
cvs rdiff -u -r1.17 -r1.18 src/sys/arch/x86/x86/efi.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/arch/x86/x86/efi.c
diff -u src/sys/arch/x86/x86/efi.c:1.17 src/sys/arch/x86/x86/efi.c:1.18
--- src/sys/arch/x86/x86/efi.c:1.17	Thu Nov 15 11:20:59 2018
+++ src/sys/arch/x86/x86/efi.c	Thu Nov 15 16:58:56 2018
@@ -1,4 +1,4 @@
-/*	$NetBSD: efi.c,v 1.17 2018/11/15 11:20:59 kre Exp $	*/
+/*	$NetBSD: efi.c,v 1.18 2018/11/15 16:58:56 riastradh Exp $	*/
 
 /*-
  * Copyright (c) 2016 The NetBSD Foundation, Inc.
@@ -27,7 +27,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: efi.c,v 1.17 2018/11/15 11:20:59 kre Exp $");
+__KERNEL_RCSID(0, "$NetBSD: efi.c,v 1.18 2018/11/15 16:58:56 riastradh Exp $");
 
 #include <sys/kmem.h>
 #include <sys/param.h>
@@ -55,7 +55,7 @@ void 		efi_aprintuuid(const struct uuid 
 bool 		efi_uuideq(const struct uuid *, const struct uuid *);
 
 static bool efi_is32x64 = false;
-static paddr_t efi_systbl_pa = (paddr_t)NULL;
+static paddr_t efi_systbl_pa;
 static struct efi_systbl *efi_systbl_va = NULL;
 static struct efi_cfgtbl *efi_cfgtblhead_va = NULL;
 static struct efi_e820memmap {

Reply via email to