diff options
author | Poul-Henning Kamp <phk@FreeBSD.org> | 1997-11-07 08:53:44 +0000 |
---|---|---|
committer | Poul-Henning Kamp <phk@FreeBSD.org> | 1997-11-07 08:53:44 +0000 |
commit | 4a11ca4e29ff701a15b6c4de4e99483f97182ea6 (patch) | |
tree | d25f628a9aba608f64fe75989d2287c6480e8b0b /sys/miscfs/procfs | |
parent | fbff0da4c8b49e614414ea85874ca2eace160515 (diff) | |
download | src-4a11ca4e29ff701a15b6c4de4e99483f97182ea6.tar.gz src-4a11ca4e29ff701a15b6c4de4e99483f97182ea6.zip |
Remove a bunch of variables which were unused both in GENERIC and LINT.
Found by: -Wunused
Notes
Notes:
svn path=/head/; revision=31016
Diffstat (limited to 'sys/miscfs/procfs')
-rw-r--r-- | sys/miscfs/procfs/procfs_vnops.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/sys/miscfs/procfs/procfs_vnops.c b/sys/miscfs/procfs/procfs_vnops.c index ef82b1103aee..b9fc5b2fedd5 100644 --- a/sys/miscfs/procfs/procfs_vnops.c +++ b/sys/miscfs/procfs/procfs_vnops.c @@ -36,7 +36,7 @@ * * @(#)procfs_vnops.c 8.18 (Berkeley) 5/21/95 * - * $Id: procfs_vnops.c,v 1.40 1997/10/27 13:33:41 bde Exp $ + * $Id: procfs_vnops.c,v 1.41 1997/10/27 15:39:01 bde Exp $ */ /* @@ -590,7 +590,6 @@ procfs_lookup(ap) struct vnode *dvp = ap->a_dvp; char *pname = cnp->cn_nameptr; struct proc *curp = cnp->cn_proc; - int error = 0; struct proc_target *pt; struct vnode *fvp; pid_t pid; @@ -775,7 +774,6 @@ procfs_readdir(ap) int pcnt = 0; volatile struct proc *p = allproc.lh_first; - again: for (; p && uio->uio_resid >= UIO_MX; i++, pcnt++) { bzero((char *) dp, UIO_MX); dp->d_reclen = UIO_MX; @@ -846,7 +844,6 @@ static int procfs_readlink(ap) struct vop_readlink_args *ap; { - struct uio *uio = ap->a_uio; char buf[16]; /* should be enough */ int len; |