Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/dev/pci Remove unnecessary include of <sys/malloc.h>.
details: https://anonhg.NetBSD.org/src/rev/a4defbec1e43
branches: trunk
changeset: 370693:a4defbec1e43
user: thorpej <thorpej%NetBSD.org@localhost>
date: Sat Sep 24 18:12:42 2022 +0000
description:
Remove unnecessary include of <sys/malloc.h>.
diffstat:
sys/dev/pci/if_bce.c | 5 ++---
sys/dev/pci/if_bnxvar.h | 3 +--
sys/dev/pci/if_cas.c | 5 ++---
sys/dev/pci/if_epic_pci.c | 5 ++---
sys/dev/pci/if_fxp_pci.c | 5 ++---
sys/dev/pci/if_hme_pci.c | 5 ++---
sys/dev/pci/if_kse.c | 5 ++---
sys/dev/pci/if_msk.c | 5 ++---
sys/dev/pci/if_pcn.c | 5 ++---
sys/dev/pci/if_rge.c | 5 ++---
sys/dev/pci/if_rtk_pci.c | 5 ++---
sys/dev/pci/if_sf_pci.c | 5 ++---
sys/dev/pci/if_sip.c | 5 ++---
sys/dev/pci/if_stge.c | 5 ++---
sys/dev/pci/if_vge.c | 5 ++---
sys/dev/pci/if_vr.c | 5 ++---
sys/dev/pci/if_vte.c | 5 ++---
sys/dev/pci/if_xge.c | 5 ++---
18 files changed, 35 insertions(+), 53 deletions(-)
diffs (truncated from 438 to 300 lines):
diff -r 0990366e6cfd -r a4defbec1e43 sys/dev/pci/if_bce.c
--- a/sys/dev/pci/if_bce.c Sat Sep 24 18:11:42 2022 +0000
+++ b/sys/dev/pci/if_bce.c Sat Sep 24 18:12:42 2022 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: if_bce.c,v 1.60 2022/01/22 15:10:32 skrll Exp $ */
+/* $NetBSD: if_bce.c,v 1.61 2022/09/24 18:12:42 thorpej Exp $ */
/*
* Copyright (c) 2003 Clifford Wright. All rights reserved.
@@ -35,14 +35,13 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: if_bce.c,v 1.60 2022/01/22 15:10:32 skrll Exp $");
+__KERNEL_RCSID(0, "$NetBSD: if_bce.c,v 1.61 2022/09/24 18:12:42 thorpej Exp $");
#include <sys/param.h>
#include <sys/systm.h>
#include <sys/callout.h>
#include <sys/sockio.h>
#include <sys/mbuf.h>
-#include <sys/malloc.h>
#include <sys/kernel.h>
#include <sys/device.h>
#include <sys/socket.h>
diff -r 0990366e6cfd -r a4defbec1e43 sys/dev/pci/if_bnxvar.h
--- a/sys/dev/pci/if_bnxvar.h Sat Sep 24 18:11:42 2022 +0000
+++ b/sys/dev/pci/if_bnxvar.h Sat Sep 24 18:12:42 2022 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: if_bnxvar.h,v 1.14 2020/07/14 15:37:40 jdolecek Exp $ */
+/* $NetBSD: if_bnxvar.h,v 1.15 2022/09/24 18:12:42 thorpej Exp $ */
/*-
* Copyright (c) 2010 The NetBSD Foundation, Inc.
* All rights reserved.
@@ -41,7 +41,6 @@
#include <sys/systm.h>
#include <sys/sockio.h>
#include <sys/mbuf.h>
-#include <sys/malloc.h>
#include <sys/kernel.h>
#include <sys/device.h>
#include <sys/socket.h>
diff -r 0990366e6cfd -r a4defbec1e43 sys/dev/pci/if_cas.c
--- a/sys/dev/pci/if_cas.c Sat Sep 24 18:11:42 2022 +0000
+++ b/sys/dev/pci/if_cas.c Sat Sep 24 18:12:42 2022 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: if_cas.c,v 1.46 2021/05/30 00:17:20 joerg Exp $ */
+/* $NetBSD: if_cas.c,v 1.47 2022/09/24 18:12:42 thorpej Exp $ */
/* $OpenBSD: if_cas.c,v 1.29 2009/11/29 16:19:38 kettenis Exp $ */
/*
@@ -44,7 +44,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: if_cas.c,v 1.46 2021/05/30 00:17:20 joerg Exp $");
+__KERNEL_RCSID(0, "$NetBSD: if_cas.c,v 1.47 2022/09/24 18:12:42 thorpej Exp $");
#ifndef _MODULE
#include "opt_inet.h"
@@ -55,7 +55,6 @@
#include <sys/callout.h>
#include <sys/mbuf.h>
#include <sys/syslog.h>
-#include <sys/malloc.h>
#include <sys/kernel.h>
#include <sys/socket.h>
#include <sys/ioctl.h>
diff -r 0990366e6cfd -r a4defbec1e43 sys/dev/pci/if_epic_pci.c
--- a/sys/dev/pci/if_epic_pci.c Sat Sep 24 18:11:42 2022 +0000
+++ b/sys/dev/pci/if_epic_pci.c Sat Sep 24 18:12:42 2022 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: if_epic_pci.c,v 1.42 2018/12/09 11:14:02 jdolecek Exp $ */
+/* $NetBSD: if_epic_pci.c,v 1.43 2022/09/24 18:12:42 thorpej Exp $ */
/*-
* Copyright (c) 1998, 1999 The NetBSD Foundation, Inc.
@@ -36,12 +36,11 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: if_epic_pci.c,v 1.42 2018/12/09 11:14:02 jdolecek Exp $");
+__KERNEL_RCSID(0, "$NetBSD: if_epic_pci.c,v 1.43 2022/09/24 18:12:42 thorpej Exp $");
#include <sys/param.h>
#include <sys/systm.h>
#include <sys/mbuf.h>
-#include <sys/malloc.h>
#include <sys/kernel.h>
#include <sys/socket.h>
#include <sys/ioctl.h>
diff -r 0990366e6cfd -r a4defbec1e43 sys/dev/pci/if_fxp_pci.c
--- a/sys/dev/pci/if_fxp_pci.c Sat Sep 24 18:11:42 2022 +0000
+++ b/sys/dev/pci/if_fxp_pci.c Sat Sep 24 18:12:42 2022 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: if_fxp_pci.c,v 1.86 2021/05/08 00:27:02 thorpej Exp $ */
+/* $NetBSD: if_fxp_pci.c,v 1.87 2022/09/24 18:12:42 thorpej Exp $ */
/*-
* Copyright (c) 1997, 1998, 1999, 2000, 2001 The NetBSD Foundation, Inc.
@@ -36,12 +36,11 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: if_fxp_pci.c,v 1.86 2021/05/08 00:27:02 thorpej Exp $");
+__KERNEL_RCSID(0, "$NetBSD: if_fxp_pci.c,v 1.87 2022/09/24 18:12:42 thorpej Exp $");
#include <sys/param.h>
#include <sys/systm.h>
#include <sys/mbuf.h>
-#include <sys/malloc.h>
#include <sys/kernel.h>
#include <sys/socket.h>
#include <sys/ioctl.h>
diff -r 0990366e6cfd -r a4defbec1e43 sys/dev/pci/if_hme_pci.c
--- a/sys/dev/pci/if_hme_pci.c Sat Sep 24 18:11:42 2022 +0000
+++ b/sys/dev/pci/if_hme_pci.c Sat Sep 24 18:12:42 2022 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: if_hme_pci.c,v 1.39 2020/07/02 09:02:04 msaitoh Exp $ */
+/* $NetBSD: if_hme_pci.c,v 1.40 2022/09/24 18:12:42 thorpej Exp $ */
/*
* Copyright (c) 2000 Matthew R. Green
@@ -31,13 +31,12 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: if_hme_pci.c,v 1.39 2020/07/02 09:02:04 msaitoh Exp $");
+__KERNEL_RCSID(0, "$NetBSD: if_hme_pci.c,v 1.40 2022/09/24 18:12:42 thorpej Exp $");
#include <sys/param.h>
#include <sys/systm.h>
#include <sys/syslog.h>
#include <sys/device.h>
-#include <sys/malloc.h>
#include <sys/socket.h>
#include <net/if.h>
diff -r 0990366e6cfd -r a4defbec1e43 sys/dev/pci/if_kse.c
--- a/sys/dev/pci/if_kse.c Sat Sep 24 18:11:42 2022 +0000
+++ b/sys/dev/pci/if_kse.c Sat Sep 24 18:12:42 2022 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: if_kse.c,v 1.58 2021/12/31 14:25:23 riastradh Exp $ */
+/* $NetBSD: if_kse.c,v 1.59 2022/09/24 18:12:42 thorpej Exp $ */
/*-
* Copyright (c) 2006 The NetBSD Foundation, Inc.
@@ -34,7 +34,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: if_kse.c,v 1.58 2021/12/31 14:25:23 riastradh Exp $");
+__KERNEL_RCSID(0, "$NetBSD: if_kse.c,v 1.59 2022/09/24 18:12:42 thorpej Exp $");
#include <sys/param.h>
#include <sys/bus.h>
@@ -43,7 +43,6 @@
#include <sys/callout.h>
#include <sys/ioctl.h>
#include <sys/mbuf.h>
-#include <sys/malloc.h>
#include <sys/rndsource.h>
#include <sys/errno.h>
#include <sys/systm.h>
diff -r 0990366e6cfd -r a4defbec1e43 sys/dev/pci/if_msk.c
--- a/sys/dev/pci/if_msk.c Sat Sep 24 18:11:42 2022 +0000
+++ b/sys/dev/pci/if_msk.c Sat Sep 24 18:12:42 2022 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: if_msk.c,v 1.118 2021/09/20 11:27:30 jmcneill Exp $ */
+/* $NetBSD: if_msk.c,v 1.119 2022/09/24 18:12:42 thorpej Exp $ */
/* $OpenBSD: if_msk.c,v 1.79 2009/10/15 17:54:56 deraadt Exp $ */
/*
@@ -52,13 +52,12 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: if_msk.c,v 1.118 2021/09/20 11:27:30 jmcneill Exp $");
+__KERNEL_RCSID(0, "$NetBSD: if_msk.c,v 1.119 2022/09/24 18:12:42 thorpej Exp $");
#include <sys/param.h>
#include <sys/systm.h>
#include <sys/sockio.h>
#include <sys/mbuf.h>
-#include <sys/malloc.h>
#include <sys/mutex.h>
#include <sys/kernel.h>
#include <sys/socket.h>
diff -r 0990366e6cfd -r a4defbec1e43 sys/dev/pci/if_pcn.c
--- a/sys/dev/pci/if_pcn.c Sat Sep 24 18:11:42 2022 +0000
+++ b/sys/dev/pci/if_pcn.c Sat Sep 24 18:12:42 2022 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: if_pcn.c,v 1.76 2020/03/16 01:54:23 thorpej Exp $ */
+/* $NetBSD: if_pcn.c,v 1.77 2022/09/24 18:12:42 thorpej Exp $ */
/*
* Copyright (c) 2001 Wasabi Systems, Inc.
@@ -65,13 +65,12 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: if_pcn.c,v 1.76 2020/03/16 01:54:23 thorpej Exp $");
+__KERNEL_RCSID(0, "$NetBSD: if_pcn.c,v 1.77 2022/09/24 18:12:42 thorpej Exp $");
#include <sys/param.h>
#include <sys/systm.h>
#include <sys/callout.h>
#include <sys/mbuf.h>
-#include <sys/malloc.h>
#include <sys/kernel.h>
#include <sys/socket.h>
#include <sys/ioctl.h>
diff -r 0990366e6cfd -r a4defbec1e43 sys/dev/pci/if_rge.c
--- a/sys/dev/pci/if_rge.c Sat Sep 24 18:11:42 2022 +0000
+++ b/sys/dev/pci/if_rge.c Sat Sep 24 18:12:42 2022 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: if_rge.c,v 1.23 2022/07/07 06:11:08 skrll Exp $ */
+/* $NetBSD: if_rge.c,v 1.24 2022/09/24 18:12:42 thorpej Exp $ */
/* $OpenBSD: if_rge.c,v 1.9 2020/12/12 11:48:53 jan Exp $ */
/*
@@ -18,7 +18,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: if_rge.c,v 1.23 2022/07/07 06:11:08 skrll Exp $");
+__KERNEL_RCSID(0, "$NetBSD: if_rge.c,v 1.24 2022/09/24 18:12:42 thorpej Exp $");
#include <sys/types.h>
@@ -26,7 +26,6 @@
#include <sys/systm.h>
#include <sys/sockio.h>
#include <sys/mbuf.h>
-#include <sys/malloc.h>
#include <sys/kernel.h>
#include <sys/socket.h>
#include <sys/device.h>
diff -r 0990366e6cfd -r a4defbec1e43 sys/dev/pci/if_rtk_pci.c
--- a/sys/dev/pci/if_rtk_pci.c Sat Sep 24 18:11:42 2022 +0000
+++ b/sys/dev/pci/if_rtk_pci.c Sat Sep 24 18:12:42 2022 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: if_rtk_pci.c,v 1.47 2018/12/09 11:14:02 jdolecek Exp $ */
+/* $NetBSD: if_rtk_pci.c,v 1.48 2022/09/24 18:12:42 thorpej Exp $ */
/*
* Copyright (c) 1997, 1998
@@ -47,7 +47,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: if_rtk_pci.c,v 1.47 2018/12/09 11:14:02 jdolecek Exp $");
+__KERNEL_RCSID(0, "$NetBSD: if_rtk_pci.c,v 1.48 2022/09/24 18:12:42 thorpej Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@@ -55,7 +55,6 @@
#include <sys/device.h>
#include <sys/sockio.h>
#include <sys/mbuf.h>
-#include <sys/malloc.h>
#include <sys/kernel.h>
#include <sys/socket.h>
diff -r 0990366e6cfd -r a4defbec1e43 sys/dev/pci/if_sf_pci.c
--- a/sys/dev/pci/if_sf_pci.c Sat Sep 24 18:11:42 2022 +0000
+++ b/sys/dev/pci/if_sf_pci.c Sat Sep 24 18:12:42 2022 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: if_sf_pci.c,v 1.22 2018/12/09 11:14:02 jdolecek Exp $ */
+/* $NetBSD: if_sf_pci.c,v 1.23 2022/09/24 18:12:42 thorpej Exp $ */
/*-
* Copyright (c) 2001 The NetBSD Foundation, Inc.
@@ -35,12 +35,11 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: if_sf_pci.c,v 1.22 2018/12/09 11:14:02 jdolecek Exp $");
+__KERNEL_RCSID(0, "$NetBSD: if_sf_pci.c,v 1.23 2022/09/24 18:12:42 thorpej Exp $");
#include <sys/param.h>
#include <sys/systm.h>
#include <sys/mbuf.h>
-#include <sys/malloc.h>
#include <sys/kernel.h>
#include <sys/socket.h>
#include <sys/ioctl.h>
diff -r 0990366e6cfd -r a4defbec1e43 sys/dev/pci/if_sip.c
--- a/sys/dev/pci/if_sip.c Sat Sep 24 18:11:42 2022 +0000
+++ b/sys/dev/pci/if_sip.c Sat Sep 24 18:12:42 2022 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: if_sip.c,v 1.188 2022/09/11 15:23:39 ryo Exp $ */
+/* $NetBSD: if_sip.c,v 1.189 2022/09/24 18:12:42 thorpej Exp $ */
/*-
* Copyright (c) 2001, 2002 The NetBSD Foundation, Inc.
@@ -73,13 +73,12 @@
*/
#include <sys/cdefs.h>
Home |
Main Index |
Thread Index |
Old Index