Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys Do not uselessly include <sys/malloc.h>.
details: https://anonhg.NetBSD.org/src/rev/ed961c64974e
branches: trunk
changeset: 333603:ed961c64974e
user: maxv <maxv%NetBSD.org@localhost>
date: Mon Nov 10 18:46:33 2014 +0000
description:
Do not uselessly include <sys/malloc.h>.
diffstat:
sys/fs/cd9660/cd9660_node.c | 5 ++---
sys/fs/cd9660/cd9660_util.c | 5 ++---
sys/fs/puffs/puffs_compat.c | 5 ++---
sys/fs/puffs/puffs_msgif.c | 5 ++---
sys/fs/puffs/puffs_node.c | 5 ++---
sys/fs/puffs/puffs_subr.c | 5 ++---
sys/fs/puffs/puffs_vfsops.c | 5 ++---
sys/fs/udf/udf_rename.c | 5 ++---
sys/fs/udf/udf_strat_bootstrap.c | 5 ++---
sys/miscfs/overlay/overlay_vfsops.c | 5 ++---
sys/miscfs/overlay/overlay_vnops.c | 7 +++----
sys/miscfs/procfs/procfs_subr.c | 5 ++---
sys/miscfs/procfs/procfs_vfsops.c | 5 ++---
sys/netinet/if_atm.c | 5 ++---
sys/netinet/in_pcb.c | 5 ++---
sys/netinet/raw_ip.c | 5 ++---
sys/netinet/tcp_output.c | 5 ++---
sys/netinet/tcp_sack.c | 5 ++---
sys/netinet/tcp_subr.c | 5 ++---
sys/netinet/tcp_timer.c | 5 ++---
sys/netinet/tcp_usrreq.c | 5 ++---
sys/netinet/tcp_vtw.c | 3 +--
22 files changed, 44 insertions(+), 66 deletions(-)
diffs (truncated from 562 to 300 lines):
diff -r 12f266a0e6e1 -r ed961c64974e sys/fs/cd9660/cd9660_node.c
--- a/sys/fs/cd9660/cd9660_node.c Mon Nov 10 18:38:16 2014 +0000
+++ b/sys/fs/cd9660/cd9660_node.c Mon Nov 10 18:46:33 2014 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: cd9660_node.c,v 1.33 2014/06/16 09:55:49 hannken Exp $ */
+/* $NetBSD: cd9660_node.c,v 1.34 2014/11/10 18:46:33 maxv Exp $ */
/*-
* Copyright (c) 1982, 1986, 1989, 1994
@@ -37,7 +37,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: cd9660_node.c,v 1.33 2014/06/16 09:55:49 hannken Exp $");
+__KERNEL_RCSID(0, "$NetBSD: cd9660_node.c,v 1.34 2014/11/10 18:46:33 maxv Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@@ -48,7 +48,6 @@
#include <sys/vnode.h>
#include <sys/namei.h>
#include <sys/kernel.h>
-#include <sys/malloc.h>
#include <sys/pool.h>
#include <sys/stat.h>
diff -r 12f266a0e6e1 -r ed961c64974e sys/fs/cd9660/cd9660_util.c
--- a/sys/fs/cd9660/cd9660_util.c Mon Nov 10 18:38:16 2014 +0000
+++ b/sys/fs/cd9660/cd9660_util.c Mon Nov 10 18:46:33 2014 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: cd9660_util.c,v 1.11 2014/06/01 11:01:18 martin Exp $ */
+/* $NetBSD: cd9660_util.c,v 1.12 2014/11/10 18:46:33 maxv Exp $ */
/*-
* Copyright (c) 1994
@@ -37,7 +37,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: cd9660_util.c,v 1.11 2014/06/01 11:01:18 martin Exp $");
+__KERNEL_RCSID(0, "$NetBSD: cd9660_util.c,v 1.12 2014/11/10 18:46:33 maxv Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@@ -50,7 +50,6 @@
#include <sys/proc.h>
#include <sys/mount.h>
#include <sys/vnode.h>
-#include <sys/malloc.h>
#include <sys/dirent.h>
#include <fs/cd9660/iso.h>
diff -r 12f266a0e6e1 -r ed961c64974e sys/fs/puffs/puffs_compat.c
--- a/sys/fs/puffs/puffs_compat.c Mon Nov 10 18:38:16 2014 +0000
+++ b/sys/fs/puffs/puffs_compat.c Mon Nov 10 18:46:33 2014 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: puffs_compat.c,v 1.2 2010/07/11 11:17:27 pooka Exp $ */
+/* $NetBSD: puffs_compat.c,v 1.3 2014/11/10 18:46:33 maxv Exp $ */
/*
* Copyright (c) 2010 Antti Kantee. All Rights Reserved.
@@ -32,14 +32,13 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: puffs_compat.c,v 1.2 2010/07/11 11:17:27 pooka Exp $");
+__KERNEL_RCSID(0, "$NetBSD: puffs_compat.c,v 1.3 2014/11/10 18:46:33 maxv Exp $");
#include <sys/param.h>
#include <sys/atomic.h>
#include <sys/kmem.h>
#include <sys/kthread.h>
#include <sys/lock.h>
-#include <sys/malloc.h>
#include <sys/mount.h>
#include <sys/namei.h>
#include <sys/proc.h>
diff -r 12f266a0e6e1 -r ed961c64974e sys/fs/puffs/puffs_msgif.c
--- a/sys/fs/puffs/puffs_msgif.c Mon Nov 10 18:38:16 2014 +0000
+++ b/sys/fs/puffs/puffs_msgif.c Mon Nov 10 18:46:33 2014 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: puffs_msgif.c,v 1.96 2014/09/05 05:39:52 matt Exp $ */
+/* $NetBSD: puffs_msgif.c,v 1.97 2014/11/10 18:46:33 maxv Exp $ */
/*
* Copyright (c) 2005, 2006, 2007 Antti Kantee. All Rights Reserved.
@@ -30,7 +30,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: puffs_msgif.c,v 1.96 2014/09/05 05:39:52 matt Exp $");
+__KERNEL_RCSID(0, "$NetBSD: puffs_msgif.c,v 1.97 2014/11/10 18:46:33 maxv Exp $");
#include <sys/param.h>
#include <sys/kernel.h>
@@ -38,7 +38,6 @@
#include <sys/kmem.h>
#include <sys/kthread.h>
#include <sys/lock.h>
-#include <sys/malloc.h>
#include <sys/mount.h>
#include <sys/namei.h>
#include <sys/proc.h>
diff -r 12f266a0e6e1 -r ed961c64974e sys/fs/puffs/puffs_node.c
--- a/sys/fs/puffs/puffs_node.c Mon Nov 10 18:38:16 2014 +0000
+++ b/sys/fs/puffs/puffs_node.c Mon Nov 10 18:46:33 2014 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: puffs_node.c,v 1.35 2014/11/04 09:10:37 manu Exp $ */
+/* $NetBSD: puffs_node.c,v 1.36 2014/11/10 18:46:33 maxv Exp $ */
/*
* Copyright (c) 2005, 2006, 2007 Antti Kantee. All Rights Reserved.
@@ -30,12 +30,11 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: puffs_node.c,v 1.35 2014/11/04 09:10:37 manu Exp $");
+__KERNEL_RCSID(0, "$NetBSD: puffs_node.c,v 1.36 2014/11/10 18:46:33 maxv Exp $");
#include <sys/param.h>
#include <sys/hash.h>
#include <sys/kmem.h>
-#include <sys/malloc.h>
#include <sys/mount.h>
#include <sys/namei.h>
#include <sys/vnode.h>
diff -r 12f266a0e6e1 -r ed961c64974e sys/fs/puffs/puffs_subr.c
--- a/sys/fs/puffs/puffs_subr.c Mon Nov 10 18:38:16 2014 +0000
+++ b/sys/fs/puffs/puffs_subr.c Mon Nov 10 18:46:33 2014 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: puffs_subr.c,v 1.66 2008/11/16 19:34:30 pooka Exp $ */
+/* $NetBSD: puffs_subr.c,v 1.67 2014/11/10 18:46:33 maxv Exp $ */
/*
* Copyright (c) 2006, 2007 Antti Kantee. All Rights Reserved.
@@ -29,11 +29,10 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: puffs_subr.c,v 1.66 2008/11/16 19:34:30 pooka Exp $");
+__KERNEL_RCSID(0, "$NetBSD: puffs_subr.c,v 1.67 2014/11/10 18:46:33 maxv Exp $");
#include <sys/param.h>
#include <sys/buf.h>
-#include <sys/malloc.h>
#include <sys/mount.h>
#include <sys/namei.h>
#include <sys/poll.h>
diff -r 12f266a0e6e1 -r ed961c64974e sys/fs/puffs/puffs_vfsops.c
--- a/sys/fs/puffs/puffs_vfsops.c Mon Nov 10 18:38:16 2014 +0000
+++ b/sys/fs/puffs/puffs_vfsops.c Mon Nov 10 18:46:33 2014 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: puffs_vfsops.c,v 1.114 2014/08/28 08:29:50 hannken Exp $ */
+/* $NetBSD: puffs_vfsops.c,v 1.115 2014/11/10 18:46:33 maxv Exp $ */
/*
* Copyright (c) 2005, 2006 Antti Kantee. All Rights Reserved.
@@ -30,12 +30,11 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: puffs_vfsops.c,v 1.114 2014/08/28 08:29:50 hannken Exp $");
+__KERNEL_RCSID(0, "$NetBSD: puffs_vfsops.c,v 1.115 2014/11/10 18:46:33 maxv Exp $");
#include <sys/param.h>
#include <sys/kernel.h>
#include <sys/mount.h>
-#include <sys/malloc.h>
#include <sys/extattr.h>
#include <sys/queue.h>
#include <sys/vnode.h>
diff -r 12f266a0e6e1 -r ed961c64974e sys/fs/udf/udf_rename.c
--- a/sys/fs/udf/udf_rename.c Mon Nov 10 18:38:16 2014 +0000
+++ b/sys/fs/udf/udf_rename.c Mon Nov 10 18:46:33 2014 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: udf_rename.c,v 1.10 2013/07/16 10:49:36 reinoud Exp $ */
+/* $NetBSD: udf_rename.c,v 1.11 2014/11/10 18:46:33 maxv Exp $ */
/*
* Copyright (c) 2013 Reinoud Zandijk
@@ -28,7 +28,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: udf_rename.c,v 1.10 2013/07/16 10:49:36 reinoud Exp $");
+__KERNEL_RCSID(0, "$NetBSD: udf_rename.c,v 1.11 2014/11/10 18:46:33 maxv Exp $");
#include <sys/param.h>
#include <sys/errno.h>
@@ -36,7 +36,6 @@
#include <sys/mount.h>
#include <sys/namei.h>
#include <sys/stat.h>
-#include <sys/malloc.h>
#include <sys/dirent.h>
#include <sys/vnode.h>
#include <sys/vnode_if.h>
diff -r 12f266a0e6e1 -r ed961c64974e sys/fs/udf/udf_strat_bootstrap.c
--- a/sys/fs/udf/udf_strat_bootstrap.c Mon Nov 10 18:38:16 2014 +0000
+++ b/sys/fs/udf/udf_strat_bootstrap.c Mon Nov 10 18:46:33 2014 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: udf_strat_bootstrap.c,v 1.3 2008/12/16 16:18:25 pooka Exp $ */
+/* $NetBSD: udf_strat_bootstrap.c,v 1.4 2014/11/10 18:46:33 maxv Exp $ */
/*
* Copyright (c) 2006, 2008 Reinoud Zandijk
@@ -28,7 +28,7 @@
#include <sys/cdefs.h>
#ifndef lint
-__KERNEL_RCSID(0, "$NetBSD: udf_strat_bootstrap.c,v 1.3 2008/12/16 16:18:25 pooka Exp $");
+__KERNEL_RCSID(0, "$NetBSD: udf_strat_bootstrap.c,v 1.4 2014/11/10 18:46:33 maxv Exp $");
#endif /* not lint */
@@ -50,7 +50,6 @@
#include <sys/device.h>
#include <sys/disklabel.h>
#include <sys/ioctl.h>
-#include <sys/malloc.h>
#include <sys/dirent.h>
#include <sys/stat.h>
#include <sys/conf.h>
diff -r 12f266a0e6e1 -r ed961c64974e sys/miscfs/overlay/overlay_vfsops.c
--- a/sys/miscfs/overlay/overlay_vfsops.c Mon Nov 10 18:38:16 2014 +0000
+++ b/sys/miscfs/overlay/overlay_vfsops.c Mon Nov 10 18:46:33 2014 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: overlay_vfsops.c,v 1.62 2014/05/25 13:51:25 hannken Exp $ */
+/* $NetBSD: overlay_vfsops.c,v 1.63 2014/11/10 18:46:33 maxv Exp $ */
/*
* Copyright (c) 1999, 2000 National Aeronautics & Space Administration
@@ -74,7 +74,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: overlay_vfsops.c,v 1.62 2014/05/25 13:51:25 hannken Exp $");
+__KERNEL_RCSID(0, "$NetBSD: overlay_vfsops.c,v 1.63 2014/11/10 18:46:33 maxv Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@@ -84,7 +84,6 @@
#include <sys/vnode.h>
#include <sys/mount.h>
#include <sys/namei.h>
-#include <sys/malloc.h>
#include <sys/module.h>
#include <miscfs/overlay/overlay.h>
#include <miscfs/genfs/layer_extern.h>
diff -r 12f266a0e6e1 -r ed961c64974e sys/miscfs/overlay/overlay_vnops.c
--- a/sys/miscfs/overlay/overlay_vnops.c Mon Nov 10 18:38:16 2014 +0000
+++ b/sys/miscfs/overlay/overlay_vnops.c Mon Nov 10 18:46:33 2014 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: overlay_vnops.c,v 1.20 2014/02/27 16:51:38 hannken Exp $ */
+/* $NetBSD: overlay_vnops.c,v 1.21 2014/11/10 18:46:33 maxv Exp $ */
/*
* Copyright (c) 1999, 2000 National Aeronautics & Space Administration
@@ -67,7 +67,7 @@
*
* Ancestors:
* @(#)lofs_vnops.c 1.2 (Berkeley) 6/18/92
- * $Id: overlay_vnops.c,v 1.20 2014/02/27 16:51:38 hannken Exp $
+ * $Id: overlay_vnops.c,v 1.21 2014/11/10 18:46:33 maxv Exp $
* ...and...
* @(#)null_vnodeops.c 1.20 92/07/07 UCLA Ficus project
*/
@@ -126,7 +126,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: overlay_vnops.c,v 1.20 2014/02/27 16:51:38 hannken Exp $");
+__KERNEL_RCSID(0, "$NetBSD: overlay_vnops.c,v 1.21 2014/11/10 18:46:33 maxv Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@@ -135,7 +135,6 @@
#include <sys/vnode.h>
#include <sys/mount.h>
#include <sys/namei.h>
-#include <sys/malloc.h>
#include <sys/buf.h>
#include <miscfs/genfs/genfs.h>
#include <miscfs/overlay/overlay.h>
diff -r 12f266a0e6e1 -r ed961c64974e sys/miscfs/procfs/procfs_subr.c
--- a/sys/miscfs/procfs/procfs_subr.c Mon Nov 10 18:38:16 2014 +0000
+++ b/sys/miscfs/procfs/procfs_subr.c Mon Nov 10 18:46:33 2014 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: procfs_subr.c,v 1.105 2014/07/27 16:47:26 hannken Exp $ */
+/* $NetBSD: procfs_subr.c,v 1.106 2014/11/10 18:46:34 maxv Exp $ */
/*-
* Copyright (c) 2006, 2007, 2008 The NetBSD Foundation, Inc.
@@ -102,7 +102,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: procfs_subr.c,v 1.105 2014/07/27 16:47:26 hannken Exp $");
+__KERNEL_RCSID(0, "$NetBSD: procfs_subr.c,v 1.106 2014/11/10 18:46:34 maxv Exp $");
Home |
Main Index |
Thread Index |
Old Index