summaryrefslogtreecommitdiffstats
path: root/sys/nfsclient/nfs_bio.c
diff options
context:
space:
mode:
authorphk <phk@FreeBSD.org>1995-10-29 15:33:36 +0000
committerphk <phk@FreeBSD.org>1995-10-29 15:33:36 +0000
commit88d6fa4d4abcae38b7ea2520fe4f00203d58d677 (patch)
tree5994df578f3d766b837fe6548617062ae4661aac /sys/nfsclient/nfs_bio.c
parentcc116c7cb7917f4b59507c90c1b0c2a45b1f6364 (diff)
downloadFreeBSD-src-88d6fa4d4abcae38b7ea2520fe4f00203d58d677.zip
FreeBSD-src-88d6fa4d4abcae38b7ea2520fe4f00203d58d677.tar.gz
Second batch of cleanup changes.
This time mostly making a lot of things static and some unused variables here and there.
Diffstat (limited to 'sys/nfsclient/nfs_bio.c')
-rw-r--r--sys/nfsclient/nfs_bio.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/sys/nfsclient/nfs_bio.c b/sys/nfsclient/nfs_bio.c
index d48a020..e1dbc246 100644
--- a/sys/nfsclient/nfs_bio.c
+++ b/sys/nfsclient/nfs_bio.c
@@ -34,7 +34,7 @@
* SUCH DAMAGE.
*
* @(#)nfs_bio.c 8.5 (Berkeley) 1/4/94
- * $Id: nfs_bio.c,v 1.16 1995/07/07 11:01:30 dfr Exp $
+ * $Id: nfs_bio.c,v 1.17 1995/08/24 10:17:32 dfr Exp $
*/
#include <sys/param.h>
@@ -94,7 +94,6 @@ nfs_bioread(vp, uio, ioflag, cred)
daddr_t lbn, rabn;
int bufsize;
int nra, error = 0, n = 0, on = 0, not_readin;
- nfsquad_t tquad;
#ifdef DIAGNOSTIC
if (uio->uio_rw != UIO_READ)
@@ -413,7 +412,7 @@ nfs_write(ap)
struct buf *bp;
struct vattr vattr;
struct nfsmount *nmp = VFSTONFS(vp->v_mount);
- daddr_t lbn, bn;
+ daddr_t lbn;
int bufsize;
int n, on, error = 0, iomode, must_commit;
@@ -769,7 +768,6 @@ nfs_doio(bp, cr, p)
int error = 0, diff, len, iomode, must_commit = 0;
struct uio uio;
struct iovec io;
- nfsquad_t tquad;
vp = bp->b_vp;
np = VTONFS(vp);
OpenPOWER on IntegriCloud