From 24a773c6ef3519e6fdb75f592c11fe4744974f7d Mon Sep 17 00:00:00 2001 From: jdolecek Date: Sun, 23 Feb 2003 19:30:13 +0000 Subject: [PATCH] g/c smbfs_pbuf_freecnt, it's not used (it was not even declared on NetBSD) --- sys/fs/smbfs/smbfs_io.c | 4 +--- sys/fs/smbfs/smbfs_vfsops.c | 9 +-------- 2 files changed, 2 insertions(+), 11 deletions(-) diff --git a/sys/fs/smbfs/smbfs_io.c b/sys/fs/smbfs/smbfs_io.c index b6876994b412..d2a5a7c957df 100644 --- a/sys/fs/smbfs/smbfs_io.c +++ b/sys/fs/smbfs/smbfs_io.c @@ -1,4 +1,4 @@ -/* $NetBSD: smbfs_io.c,v 1.5 2003/02/23 17:28:01 jdolecek Exp $ */ +/* $NetBSD: smbfs_io.c,v 1.6 2003/02/23 19:30:13 jdolecek Exp $ */ /* * Copyright (c) 2000-2001, Boris Popov @@ -82,8 +82,6 @@ /*#define SMBFS_RWGENERIC*/ -extern int smbfs_pbuf_freecnt; - #define DE_SIZE (sizeof(struct dirent)) static int diff --git a/sys/fs/smbfs/smbfs_vfsops.c b/sys/fs/smbfs/smbfs_vfsops.c index 6106962d0899..74d5f9dacc83 100644 --- a/sys/fs/smbfs/smbfs_vfsops.c +++ b/sys/fs/smbfs/smbfs_vfsops.c @@ -1,4 +1,4 @@ -/* $NetBSD: smbfs_vfsops.c,v 1.10 2003/02/23 18:47:10 jdolecek Exp $ */ +/* $NetBSD: smbfs_vfsops.c,v 1.11 2003/02/23 19:30:13 jdolecek Exp $ */ /* * Copyright (c) 2000-2001, Boris Popov @@ -78,10 +78,6 @@ int smbfs_vget(struct mount *mp, ino_t ino, struct vnode **vpp); int smbfs_fhtovp(struct mount *, struct fid *, struct vnode **); int smbfs_vptofh(struct vnode *, struct fid *); -#ifndef __NetBSD__ -int smbfs_pbuf_freecnt = -1; /* start out unlimited */ -#endif - extern struct vnodeopv_desc smbfs_vnodeop_opv_desc; const struct vnodeopv_desc *smbfs_vnodeopv_descs[] = { @@ -317,9 +313,6 @@ void smbfs_init(void) { -#ifndef __NetBSD__ - smbfs_pbuf_freecnt = nswbuf / 2 + 1; -#endif SMBVDEBUG("done.\n"); }