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/eb6fb2c6dcd6
branches:  trunk
changeset: 370737:eb6fb2c6dcd6
user:      thorpej <thorpej%NetBSD.org@localhost>
date:      Sun Sep 25 21:53:54 2022 +0000

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

diffstat:

 sys/dev/flash/flash.c       |  5 ++---
 sys/dev/pcmcia/if_xi.c      |  5 ++---
 sys/dev/pcmcia/pcmcom.c     |  5 ++---
 sys/dev/pcmcia/wdc_pcmcia.c |  5 ++---
 4 files changed, 8 insertions(+), 12 deletions(-)

diffs (99 lines):

diff -r e6c5d16a58ec -r eb6fb2c6dcd6 sys/dev/flash/flash.c
--- a/sys/dev/flash/flash.c     Sun Sep 25 21:27:39 2022 +0000
+++ b/sys/dev/flash/flash.c     Sun Sep 25 21:53:54 2022 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: flash.c,v 1.18 2022/03/31 19:30:16 pgoyette Exp $      */
+/*     $NetBSD: flash.c,v 1.19 2022/09/25 21:56:12 thorpej Exp $       */
 
 /*-
  * Copyright (c) 2011 Department of Software Engineering,
@@ -37,7 +37,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: flash.c,v 1.18 2022/03/31 19:30:16 pgoyette Exp $");
+__KERNEL_RCSID(0, "$NetBSD: flash.c,v 1.19 2022/09/25 21:56:12 thorpej Exp $");
 
 #include <sys/param.h>
 #include <sys/types.h>
@@ -55,7 +55,6 @@
 #include <sys/bufq.h>
 #include <sys/disk.h>
 #include <sys/disklabel.h>
-#include <sys/malloc.h>
 #include <sys/reboot.h>
 
 #include "ioconf.h"
diff -r e6c5d16a58ec -r eb6fb2c6dcd6 sys/dev/pcmcia/if_xi.c
--- a/sys/dev/pcmcia/if_xi.c    Sun Sep 25 21:27:39 2022 +0000
+++ b/sys/dev/pcmcia/if_xi.c    Sun Sep 25 21:53:54 2022 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: if_xi.c,v 1.95 2022/04/08 10:17:54 andvar Exp $ */
+/*     $NetBSD: if_xi.c,v 1.96 2022/09/25 21:53:54 thorpej Exp $ */
 /*     OpenBSD: if_xe.c,v 1.9 1999/09/16 11:28:42 niklas Exp   */
 
 /*
@@ -55,7 +55,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: if_xi.c,v 1.95 2022/04/08 10:17:54 andvar Exp $");
+__KERNEL_RCSID(0, "$NetBSD: if_xi.c,v 1.96 2022/09/25 21:53:54 thorpej Exp $");
 
 #include "opt_inet.h"
 
@@ -64,7 +64,6 @@
 #include <sys/device.h>
 #include <sys/ioctl.h>
 #include <sys/mbuf.h>
-#include <sys/malloc.h>
 #include <sys/socket.h>
 #include <sys/kernel.h>
 #include <sys/proc.h>
diff -r e6c5d16a58ec -r eb6fb2c6dcd6 sys/dev/pcmcia/pcmcom.c
--- a/sys/dev/pcmcia/pcmcom.c   Sun Sep 25 21:27:39 2022 +0000
+++ b/sys/dev/pcmcia/pcmcom.c   Sun Sep 25 21:53:54 2022 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: pcmcom.c,v 1.43 2021/08/07 16:19:15 thorpej Exp $      */
+/*     $NetBSD: pcmcom.c,v 1.44 2022/09/25 21:53:54 thorpej Exp $      */
 
 /*-
  * Copyright (c) 1998, 2000, 2004 The NetBSD Foundation, Inc.
@@ -44,13 +44,12 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: pcmcom.c,v 1.43 2021/08/07 16:19:15 thorpej Exp $");
+__KERNEL_RCSID(0, "$NetBSD: pcmcom.c,v 1.44 2022/09/25 21:53:54 thorpej Exp $");
 
 #include <sys/param.h>
 #include <sys/systm.h>
 #include <sys/device.h>
 #include <sys/termios.h>
-#include <sys/malloc.h>
 
 #include <sys/bus.h>
 #include <sys/intr.h>
diff -r e6c5d16a58ec -r eb6fb2c6dcd6 sys/dev/pcmcia/wdc_pcmcia.c
--- a/sys/dev/pcmcia/wdc_pcmcia.c       Sun Sep 25 21:27:39 2022 +0000
+++ b/sys/dev/pcmcia/wdc_pcmcia.c       Sun Sep 25 21:53:54 2022 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: wdc_pcmcia.c,v 1.129 2021/10/05 08:21:10 rin Exp $ */
+/*     $NetBSD: wdc_pcmcia.c,v 1.130 2022/09/25 21:53:54 thorpej Exp $ */
 
 /*-
  * Copyright (c) 1998, 2003, 2004 The NetBSD Foundation, Inc.
@@ -30,12 +30,11 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: wdc_pcmcia.c,v 1.129 2021/10/05 08:21:10 rin Exp $");
+__KERNEL_RCSID(0, "$NetBSD: wdc_pcmcia.c,v 1.130 2022/09/25 21:53:54 thorpej Exp $");
 
 #include <sys/param.h>
 #include <sys/device.h>
 #include <sys/kernel.h>
-#include <sys/malloc.h>
 #include <sys/systm.h>
 #include <sys/proc.h>
 



Home | Main Index | Thread Index | Old Index