Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/dev/isa Remove unnecessary include of <sys/malloc.h>.



details:   https://anonhg.NetBSD.org/src/rev/c0f9be13fb8f
branches:  trunk
changeset: 370722:c0f9be13fb8f
user:      thorpej <thorpej%NetBSD.org@localhost>
date:      Sun Sep 25 17:09:36 2022 +0000

description:
Remove unnecessary include of <sys/malloc.h>.

diffstat:

 sys/dev/isa/atppc_isa.c      |  5 ++---
 sys/dev/isa/atppc_isadma.c   |  5 ++---
 sys/dev/isa/i82365_isa.c     |  5 ++---
 sys/dev/isa/i82365_isasubr.c |  5 ++---
 sys/dev/isa/isa_stub.c       |  5 ++---
 sys/dev/isa/spkr_pcppi.c     |  5 ++---
 sys/dev/isa/tcic2_isa.c      |  5 ++---
 sys/dev/isa/ug_isa.c         |  5 ++---
 sys/dev/isa/vga_isa.c        |  5 ++---
 sys/dev/isa/wdc_isa.c        |  5 ++---
 sys/dev/isa/wds.c            |  5 ++---
 11 files changed, 22 insertions(+), 33 deletions(-)

diffs (272 lines):

diff -r 6a5fc7cb924c -r c0f9be13fb8f sys/dev/isa/atppc_isa.c
--- a/sys/dev/isa/atppc_isa.c   Sun Sep 25 12:51:37 2022 +0000
+++ b/sys/dev/isa/atppc_isa.c   Sun Sep 25 17:09:36 2022 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: atppc_isa.c,v 1.16 2021/12/03 13:27:38 andvar Exp $ */
+/* $NetBSD: atppc_isa.c,v 1.17 2022/09/25 17:09:36 thorpej Exp $ */
 
 /*-
  * Copyright (c) 2001 Alcove - Nicolas Souchu
@@ -30,14 +30,13 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: atppc_isa.c,v 1.16 2021/12/03 13:27:38 andvar Exp $");
+__KERNEL_RCSID(0, "$NetBSD: atppc_isa.c,v 1.17 2022/09/25 17:09:36 thorpej Exp $");
 
 #include "opt_atppc.h"
 
 #include <sys/param.h>
 #include <sys/systm.h>
 #include <sys/kernel.h>
-#include <sys/malloc.h>
 #include <sys/device.h>
 
 #include <sys/intr.h>
diff -r 6a5fc7cb924c -r c0f9be13fb8f sys/dev/isa/atppc_isadma.c
--- a/sys/dev/isa/atppc_isadma.c        Sun Sep 25 12:51:37 2022 +0000
+++ b/sys/dev/isa/atppc_isadma.c        Sun Sep 25 17:09:36 2022 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: atppc_isadma.c,v 1.7 2008/04/15 15:02:28 cegger Exp $ */
+/* $NetBSD: atppc_isadma.c,v 1.8 2022/09/25 17:09:36 thorpej Exp $ */
 
 /*-
  * Copyright (c) 2001 Alcove - Nicolas Souchu
@@ -30,14 +30,13 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: atppc_isadma.c,v 1.7 2008/04/15 15:02:28 cegger Exp $");
+__KERNEL_RCSID(0, "$NetBSD: atppc_isadma.c,v 1.8 2022/09/25 17:09:36 thorpej Exp $");
 
 #include "opt_atppc.h"
 
 #include <sys/param.h>
 #include <sys/systm.h>
 #include <sys/kernel.h>
-#include <sys/malloc.h>
 #include <sys/device.h>
 
 #include <sys/intr.h>
diff -r 6a5fc7cb924c -r c0f9be13fb8f sys/dev/isa/i82365_isa.c
--- a/sys/dev/isa/i82365_isa.c  Sun Sep 25 12:51:37 2022 +0000
+++ b/sys/dev/isa/i82365_isa.c  Sun Sep 25 17:09:36 2022 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: i82365_isa.c,v 1.35 2016/07/14 10:19:06 msaitoh Exp $  */
+/*     $NetBSD: i82365_isa.c,v 1.36 2022/09/25 17:09:36 thorpej Exp $  */
 
 /*
  * Copyright (c) 1997 Marc Horowitz.  All rights reserved.
@@ -30,7 +30,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: i82365_isa.c,v 1.35 2016/07/14 10:19:06 msaitoh Exp $");
+__KERNEL_RCSID(0, "$NetBSD: i82365_isa.c,v 1.36 2022/09/25 17:09:36 thorpej Exp $");
 
 #define        PCICISADEBUG
 
@@ -38,7 +38,6 @@
 #include <sys/systm.h>
 #include <sys/device.h>
 #include <sys/extent.h>
-#include <sys/malloc.h>
 
 #include <sys/bus.h>
 #include <sys/intr.h>
diff -r 6a5fc7cb924c -r c0f9be13fb8f sys/dev/isa/i82365_isasubr.c
--- a/sys/dev/isa/i82365_isasubr.c      Sun Sep 25 12:51:37 2022 +0000
+++ b/sys/dev/isa/i82365_isasubr.c      Sun Sep 25 17:09:36 2022 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: i82365_isasubr.c,v 1.48 2012/10/27 17:18:24 chs Exp $  */
+/*     $NetBSD: i82365_isasubr.c,v 1.49 2022/09/25 17:09:36 thorpej Exp $      */
 
 /*
  * Copyright (c) 2000 Christian E. Hopps.  All rights reserved.
@@ -32,7 +32,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: i82365_isasubr.c,v 1.48 2012/10/27 17:18:24 chs Exp $");
+__KERNEL_RCSID(0, "$NetBSD: i82365_isasubr.c,v 1.49 2022/09/25 17:09:36 thorpej Exp $");
 
 #define        PCICISADEBUG
 
@@ -40,7 +40,6 @@
 #include <sys/systm.h>
 #include <sys/device.h>
 #include <sys/extent.h>
-#include <sys/malloc.h>
 
 #include <sys/bus.h>
 #include <sys/intr.h>
diff -r 6a5fc7cb924c -r c0f9be13fb8f sys/dev/isa/isa_stub.c
--- a/sys/dev/isa/isa_stub.c    Sun Sep 25 12:51:37 2022 +0000
+++ b/sys/dev/isa/isa_stub.c    Sun Sep 25 17:09:36 2022 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: isa_stub.c,v 1.3 2016/10/18 22:04:34 jdolecek Exp $    */
+/*     $NetBSD: isa_stub.c,v 1.4 2022/09/25 17:09:36 thorpej Exp $     */
 
 /*-
  * Copyright (c) 2016 The NetBSD Foundation, Inc.
@@ -30,12 +30,11 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: isa_stub.c,v 1.3 2016/10/18 22:04:34 jdolecek Exp $");
+__KERNEL_RCSID(0, "$NetBSD: isa_stub.c,v 1.4 2022/09/25 17:09:36 thorpej Exp $");
 
 #include <sys/param.h>
 #include <sys/systm.h>
 #include <sys/kernel.h>
-#include <sys/malloc.h>
 #include <sys/device.h>
 
 #include <sys/intr.h>
diff -r 6a5fc7cb924c -r c0f9be13fb8f sys/dev/isa/spkr_pcppi.c
--- a/sys/dev/isa/spkr_pcppi.c  Sun Sep 25 12:51:37 2022 +0000
+++ b/sys/dev/isa/spkr_pcppi.c  Sun Sep 25 17:09:36 2022 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: spkr_pcppi.c,v 1.13 2021/04/03 04:10:30 isaki Exp $    */
+/*     $NetBSD: spkr_pcppi.c,v 1.14 2022/09/25 17:09:36 thorpej Exp $  */
 
 /*
  * Copyright (c) 1990 Eric S. Raymond (esr%snark.thyrsus.com@localhost)
@@ -43,14 +43,13 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: spkr_pcppi.c,v 1.13 2021/04/03 04:10:30 isaki Exp $");
+__KERNEL_RCSID(0, "$NetBSD: spkr_pcppi.c,v 1.14 2022/09/25 17:09:36 thorpej Exp $");
 
 #include <sys/param.h>
 #include <sys/systm.h>
 #include <sys/kernel.h>
 #include <sys/errno.h>
 #include <sys/device.h>
-#include <sys/malloc.h>
 #include <sys/uio.h>
 #include <sys/proc.h>
 #include <sys/ioctl.h>
diff -r 6a5fc7cb924c -r c0f9be13fb8f sys/dev/isa/tcic2_isa.c
--- a/sys/dev/isa/tcic2_isa.c   Sun Sep 25 12:51:37 2022 +0000
+++ b/sys/dev/isa/tcic2_isa.c   Sun Sep 25 17:09:36 2022 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: tcic2_isa.c,v 1.29 2021/07/31 20:51:32 andvar Exp $    */
+/*     $NetBSD: tcic2_isa.c,v 1.30 2022/09/25 17:09:36 thorpej Exp $   */
 
 /*
  *
@@ -32,13 +32,12 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: tcic2_isa.c,v 1.29 2021/07/31 20:51:32 andvar Exp $");
+__KERNEL_RCSID(0, "$NetBSD: tcic2_isa.c,v 1.30 2022/09/25 17:09:36 thorpej Exp $");
 
 #include <sys/param.h>
 #include <sys/systm.h>
 #include <sys/device.h>
 #include <sys/extent.h>
-#include <sys/malloc.h>
 
 #include <sys/bus.h>
 #include <sys/intr.h>
diff -r 6a5fc7cb924c -r c0f9be13fb8f sys/dev/isa/ug_isa.c
--- a/sys/dev/isa/ug_isa.c      Sun Sep 25 12:51:37 2022 +0000
+++ b/sys/dev/isa/ug_isa.c      Sun Sep 25 17:09:36 2022 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: ug_isa.c,v 1.9 2022/06/29 15:56:58 mlelstv Exp $ */
+/* $NetBSD: ug_isa.c,v 1.10 2022/09/25 17:09:36 thorpej Exp $ */
 
 /*
  * Copyright (c) 2007 Mihai Chelaru <kefren%netbsd.ro@localhost>
@@ -32,14 +32,13 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: ug_isa.c,v 1.9 2022/06/29 15:56:58 mlelstv Exp $");
+__KERNEL_RCSID(0, "$NetBSD: ug_isa.c,v 1.10 2022/09/25 17:09:36 thorpej Exp $");
 
 #include <sys/param.h>
 #include <sys/systm.h>
 #include <sys/kernel.h>
 #include <sys/proc.h>
 #include <sys/device.h>
-#include <sys/malloc.h>
 #include <sys/errno.h>
 #include <sys/conf.h>
 #include <sys/envsys.h>
diff -r 6a5fc7cb924c -r c0f9be13fb8f sys/dev/isa/vga_isa.c
--- a/sys/dev/isa/vga_isa.c     Sun Sep 25 12:51:37 2022 +0000
+++ b/sys/dev/isa/vga_isa.c     Sun Sep 25 17:09:36 2022 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: vga_isa.c,v 1.21 2008/03/14 22:12:08 cube Exp $ */
+/* $NetBSD: vga_isa.c,v 1.22 2022/09/25 17:09:36 thorpej Exp $ */
 
 /*
  * Copyright (c) 1995, 1996 Carnegie-Mellon University.
@@ -28,13 +28,12 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: vga_isa.c,v 1.21 2008/03/14 22:12:08 cube Exp $");
+__KERNEL_RCSID(0, "$NetBSD: vga_isa.c,v 1.22 2022/09/25 17:09:36 thorpej Exp $");
 
 #include <sys/param.h>
 #include <sys/systm.h>
 #include <sys/kernel.h>
 #include <sys/device.h>
-#include <sys/malloc.h>
 
 #include <dev/isa/isavar.h>
 
diff -r 6a5fc7cb924c -r c0f9be13fb8f sys/dev/isa/wdc_isa.c
--- a/sys/dev/isa/wdc_isa.c     Sun Sep 25 12:51:37 2022 +0000
+++ b/sys/dev/isa/wdc_isa.c     Sun Sep 25 17:09:36 2022 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: wdc_isa.c,v 1.61 2017/10/20 07:06:07 jdolecek Exp $ */
+/*     $NetBSD: wdc_isa.c,v 1.62 2022/09/25 17:09:36 thorpej Exp $ */
 
 /*-
  * Copyright (c) 1998, 2003 The NetBSD Foundation, Inc.
@@ -30,12 +30,11 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: wdc_isa.c,v 1.61 2017/10/20 07:06:07 jdolecek Exp $");
+__KERNEL_RCSID(0, "$NetBSD: wdc_isa.c,v 1.62 2022/09/25 17:09:36 thorpej Exp $");
 
 #include <sys/param.h>
 #include <sys/systm.h>
 #include <sys/device.h>
-#include <sys/malloc.h>
 
 #include <sys/bus.h>
 #include <sys/intr.h>
diff -r 6a5fc7cb924c -r c0f9be13fb8f sys/dev/isa/wds.c
--- a/sys/dev/isa/wds.c Sun Sep 25 12:51:37 2022 +0000
+++ b/sys/dev/isa/wds.c Sun Sep 25 17:09:36 2022 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: wds.c,v 1.79 2021/08/07 16:19:12 thorpej Exp $ */
+/*     $NetBSD: wds.c,v 1.80 2022/09/25 17:09:36 thorpej Exp $ */
 
 /*
  * XXX
@@ -79,7 +79,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: wds.c,v 1.79 2021/08/07 16:19:12 thorpej Exp $");
+__KERNEL_RCSID(0, "$NetBSD: wds.c,v 1.80 2022/09/25 17:09:36 thorpej Exp $");
 
 #include "opt_ddb.h"
 
@@ -96,7 +96,6 @@
 #include <sys/errno.h>
 #include <sys/ioctl.h>
 #include <sys/device.h>
-#include <sys/malloc.h>
 #include <sys/buf.h>
 #include <sys/proc.h>
 



Home | Main Index | Thread Index | Old Index