g/c unused malloc types
This commit is contained in:
parent
76eef63f94
commit
bd6148602f
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: nfs_subs.c,v 1.210 2008/11/19 18:36:09 ad Exp $ */
|
||||
/* $NetBSD: nfs_subs.c,v 1.211 2008/11/28 06:47:08 pooka Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 1989, 1993
|
||||
|
@ -70,7 +70,7 @@
|
|||
*/
|
||||
|
||||
#include <sys/cdefs.h>
|
||||
__KERNEL_RCSID(0, "$NetBSD: nfs_subs.c,v 1.210 2008/11/19 18:36:09 ad Exp $");
|
||||
__KERNEL_RCSID(0, "$NetBSD: nfs_subs.c,v 1.211 2008/11/28 06:47:08 pooka Exp $");
|
||||
|
||||
#ifdef _KERNEL_OPT
|
||||
#include "fs_nfs.h"
|
||||
|
@ -140,8 +140,6 @@ const enum vtype nv3tov_type[8] =
|
|||
int nfs_ticks;
|
||||
int nfs_commitsize;
|
||||
|
||||
MALLOC_DEFINE(M_NFSDIROFF, "NFS diroff", "NFS directory cookies");
|
||||
|
||||
/* NFS client/server stats. */
|
||||
struct nfsstats nfsstats;
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: nfs_syscalls.c,v 1.142 2008/11/19 18:36:09 ad Exp $ */
|
||||
/* $NetBSD: nfs_syscalls.c,v 1.143 2008/11/28 06:47:08 pooka Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 1989, 1993
|
||||
|
@ -35,7 +35,7 @@
|
|||
*/
|
||||
|
||||
#include <sys/cdefs.h>
|
||||
__KERNEL_RCSID(0, "$NetBSD: nfs_syscalls.c,v 1.142 2008/11/19 18:36:09 ad Exp $");
|
||||
__KERNEL_RCSID(0, "$NetBSD: nfs_syscalls.c,v 1.143 2008/11/28 06:47:08 pooka Exp $");
|
||||
|
||||
#include <sys/param.h>
|
||||
#include <sys/systm.h>
|
||||
|
@ -295,8 +295,6 @@ sys_nfssvc(struct lwp *l, const struct sys_nfssvc_args *uap, register_t *retval)
|
|||
return (error);
|
||||
}
|
||||
|
||||
MALLOC_DEFINE(M_NFSD, "NFS daemon", "Nfs server daemon structure");
|
||||
|
||||
static struct nfssvc_sock *
|
||||
nfsrv_sockalloc()
|
||||
{
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: nfs_var.h,v 1.84 2008/11/19 18:36:09 ad Exp $ */
|
||||
/* $NetBSD: nfs_var.h,v 1.85 2008/11/28 06:47:08 pooka Exp $ */
|
||||
|
||||
/*-
|
||||
* Copyright (c) 1996 The NetBSD Foundation, Inc.
|
||||
|
@ -37,9 +37,6 @@
|
|||
#include <sys/mallocvar.h>
|
||||
#include <sys/pool.h>
|
||||
|
||||
MALLOC_DECLARE(M_NFSD);
|
||||
MALLOC_DECLARE(M_NFSDIROFF);
|
||||
|
||||
struct vnode;
|
||||
struct uio;
|
||||
struct proc;
|
||||
|
|
Loading…
Reference in New Issue