Source-Changes-HG archive

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

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



details:   https://anonhg.NetBSD.org/src/rev/e6c5d16a58ec
branches:  trunk
changeset: 370736:e6c5d16a58ec
user:      thorpej <thorpej%NetBSD.org@localhost>
date:      Sun Sep 25 21:27:39 2022 +0000

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

diffstat:

 sys/dev/sun/bwtwo.c      |  5 ++---
 sys/dev/sun/cgsix.c      |  5 ++---
 sys/dev/sun/cgthree.c    |  5 ++---
 sys/dev/sun/kbd_zs.c     |  5 ++---
 sys/dev/sun/sunkbd.c     |  5 ++---
 sys/dev/tc/tcds.c        |  5 ++---
 sys/dev/videomode/edid.c |  5 ++---
 7 files changed, 14 insertions(+), 21 deletions(-)

diffs (173 lines):

diff -r 01c9f204116d -r e6c5d16a58ec sys/dev/sun/bwtwo.c
--- a/sys/dev/sun/bwtwo.c       Sun Sep 25 21:26:23 2022 +0000
+++ b/sys/dev/sun/bwtwo.c       Sun Sep 25 21:27:39 2022 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: bwtwo.c,v 1.38 2021/08/07 16:19:16 thorpej Exp $ */
+/*     $NetBSD: bwtwo.c,v 1.39 2022/09/25 21:30:29 thorpej Exp $ */
 
 /*-
  * Copyright (c) 1996, 1997 The NetBSD Foundation, Inc.
@@ -79,13 +79,12 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: bwtwo.c,v 1.38 2021/08/07 16:19:16 thorpej Exp $");
+__KERNEL_RCSID(0, "$NetBSD: bwtwo.c,v 1.39 2022/09/25 21:30:29 thorpej Exp $");
 
 #include <sys/param.h>
 #include <sys/systm.h>
 #include <sys/device.h>
 #include <sys/ioctl.h>
-#include <sys/malloc.h>
 #include <sys/mman.h>
 #include <sys/tty.h>
 #include <sys/conf.h>
diff -r 01c9f204116d -r e6c5d16a58ec sys/dev/sun/cgsix.c
--- a/sys/dev/sun/cgsix.c       Sun Sep 25 21:26:23 2022 +0000
+++ b/sys/dev/sun/cgsix.c       Sun Sep 25 21:27:39 2022 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: cgsix.c,v 1.71 2022/04/28 03:12:03 macallan Exp $ */
+/*     $NetBSD: cgsix.c,v 1.72 2022/09/25 21:30:29 thorpej Exp $ */
 
 /*-
  * Copyright (c) 1998 The NetBSD Foundation, Inc.
@@ -78,14 +78,13 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: cgsix.c,v 1.71 2022/04/28 03:12:03 macallan Exp $");
+__KERNEL_RCSID(0, "$NetBSD: cgsix.c,v 1.72 2022/09/25 21:30:29 thorpej Exp $");
 
 #include <sys/param.h>
 #include <sys/systm.h>
 #include <sys/buf.h>
 #include <sys/device.h>
 #include <sys/ioctl.h>
-#include <sys/malloc.h>
 #include <sys/mman.h>
 #include <sys/tty.h>
 #include <sys/conf.h>
diff -r 01c9f204116d -r e6c5d16a58ec sys/dev/sun/cgthree.c
--- a/sys/dev/sun/cgthree.c     Sun Sep 25 21:26:23 2022 +0000
+++ b/sys/dev/sun/cgthree.c     Sun Sep 25 21:27:39 2022 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: cgthree.c,v 1.35 2021/08/07 16:19:16 thorpej Exp $ */
+/*     $NetBSD: cgthree.c,v 1.36 2022/09/25 21:30:29 thorpej Exp $ */
 
 /*-
  * Copyright (c) 1998 The NetBSD Foundation, Inc.
@@ -38,14 +38,13 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: cgthree.c,v 1.35 2021/08/07 16:19:16 thorpej Exp $");
+__KERNEL_RCSID(0, "$NetBSD: cgthree.c,v 1.36 2022/09/25 21:30:29 thorpej Exp $");
 
 #include <sys/param.h>
 #include <sys/systm.h>
 #include <sys/buf.h>
 #include <sys/device.h>
 #include <sys/ioctl.h>
-#include <sys/malloc.h>
 #include <sys/mman.h>
 #include <sys/tty.h>
 #include <sys/conf.h>
diff -r 01c9f204116d -r e6c5d16a58ec sys/dev/sun/kbd_zs.c
--- a/sys/dev/sun/kbd_zs.c      Sun Sep 25 21:26:23 2022 +0000
+++ b/sys/dev/sun/kbd_zs.c      Sun Sep 25 21:27:39 2022 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: kbd_zs.c,v 1.23 2008/04/20 15:44:01 tsutsui Exp $      */
+/*     $NetBSD: kbd_zs.c,v 1.24 2022/09/25 21:30:29 thorpej Exp $      */
 
 /*
  * Copyright (c) 1992, 1993
@@ -53,14 +53,13 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: kbd_zs.c,v 1.23 2008/04/20 15:44:01 tsutsui Exp $");
+__KERNEL_RCSID(0, "$NetBSD: kbd_zs.c,v 1.24 2022/09/25 21:30:29 thorpej Exp $");
 
 #include <sys/param.h>
 #include <sys/systm.h>
 #include <sys/conf.h>
 #include <sys/device.h>
 #include <sys/kernel.h>
-#include <sys/malloc.h>
 #include <sys/proc.h>
 #include <sys/signal.h>
 #include <sys/signalvar.h>
diff -r 01c9f204116d -r e6c5d16a58ec sys/dev/sun/sunkbd.c
--- a/sys/dev/sun/sunkbd.c      Sun Sep 25 21:26:23 2022 +0000
+++ b/sys/dev/sun/sunkbd.c      Sun Sep 25 21:27:39 2022 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: sunkbd.c,v 1.30 2017/10/31 10:46:47 martin Exp $       */
+/*     $NetBSD: sunkbd.c,v 1.31 2022/09/25 21:30:29 thorpej Exp $      */
 
 /*
  * Copyright (c) 1992, 1993
@@ -51,14 +51,13 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: sunkbd.c,v 1.30 2017/10/31 10:46:47 martin Exp $");
+__KERNEL_RCSID(0, "$NetBSD: sunkbd.c,v 1.31 2022/09/25 21:30:29 thorpej Exp $");
 
 #include <sys/param.h>
 #include <sys/systm.h>
 #include <sys/conf.h>
 #include <sys/device.h>
 #include <sys/kernel.h>
-#include <sys/malloc.h>
 #include <sys/proc.h>
 #include <sys/signal.h>
 #include <sys/signalvar.h>
diff -r 01c9f204116d -r e6c5d16a58ec sys/dev/tc/tcds.c
--- a/sys/dev/tc/tcds.c Sun Sep 25 21:26:23 2022 +0000
+++ b/sys/dev/tc/tcds.c Sun Sep 25 21:27:39 2022 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: tcds.c,v 1.28 2021/08/07 16:19:16 thorpej Exp $ */
+/* $NetBSD: tcds.c,v 1.29 2022/09/25 21:28:51 thorpej Exp $ */
 
 /*-
  * Copyright (c) 1998 The NetBSD Foundation, Inc.
@@ -58,13 +58,12 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: tcds.c,v 1.28 2021/08/07 16:19:16 thorpej Exp $");
+__KERNEL_RCSID(0, "$NetBSD: tcds.c,v 1.29 2022/09/25 21:28:51 thorpej Exp $");
 
 #include <sys/param.h>
 #include <sys/kernel.h>
 #include <sys/systm.h>
 #include <sys/device.h>
-#include <sys/malloc.h>
 
 #ifdef __alpha__
 #include <machine/rpb.h>
diff -r 01c9f204116d -r e6c5d16a58ec sys/dev/videomode/edid.c
--- a/sys/dev/videomode/edid.c  Sun Sep 25 21:26:23 2022 +0000
+++ b/sys/dev/videomode/edid.c  Sun Sep 25 21:27:39 2022 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: edid.c,v 1.17 2022/04/16 18:15:22 andvar Exp $ */
+/* $NetBSD: edid.c,v 1.18 2022/09/25 21:27:39 thorpej Exp $ */
 
 /*-
  * Copyright (c) 2006 Itronix Inc.
@@ -32,14 +32,13 @@
  */ 
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: edid.c,v 1.17 2022/04/16 18:15:22 andvar Exp $");
+__KERNEL_RCSID(0, "$NetBSD: edid.c,v 1.18 2022/09/25 21:27:39 thorpej Exp $");
 
 #ifdef _KERNEL
 #include <sys/param.h>
 #include <sys/systm.h>
 #include <sys/device.h>
 #include <sys/kernel.h>
-#include <sys/malloc.h>
 #else
 #include <stdlib.h>
 #include <inttypes.h>



Home | Main Index | Thread Index | Old Index