summaryrefslogtreecommitdiffstats
path: root/sys/fs/nwfs
diff options
context:
space:
mode:
authorbz <bz@FreeBSD.org>2009-01-31 17:36:22 +0000
committerbz <bz@FreeBSD.org>2009-01-31 17:36:22 +0000
commit9fd12161ca2cbe826e55cef701d4c1fdb6d79911 (patch)
tree74f6b8af4d57435e5f4c1f34cfe9b0337b48a772 /sys/fs/nwfs
parent033060866cf1aca0459bdb130e57b4184069dae6 (diff)
downloadFreeBSD-src-9fd12161ca2cbe826e55cef701d4c1fdb6d79911.zip
FreeBSD-src-9fd12161ca2cbe826e55cef701d4c1fdb6d79911.tar.gz
Remove unused local variables.
Submitted by: Christoph Mallon christoph.mallon@gmx.de Reviewed by: kib MFC after: 2 weeks
Diffstat (limited to 'sys/fs/nwfs')
-rw-r--r--sys/fs/nwfs/nwfs_subr.c2
-rw-r--r--sys/fs/nwfs/nwfs_vnops.c2
2 files changed, 0 insertions, 4 deletions
diff --git a/sys/fs/nwfs/nwfs_subr.c b/sys/fs/nwfs/nwfs_subr.c
index 4d55972..732651f 100644
--- a/sys/fs/nwfs/nwfs_subr.c
+++ b/sys/fs/nwfs/nwfs_subr.c
@@ -179,7 +179,6 @@ ncp_lookup(struct vnode *dvp, int len, char *name, struct nw_entry_info *fap,
{
struct nwmount *nmp;
struct nwnode *dnp;
- struct ncp_conn *conn;
int error;
if (!dvp || dvp->v_type != VDIR) {
@@ -188,7 +187,6 @@ ncp_lookup(struct vnode *dvp, int len, char *name, struct nw_entry_info *fap,
}
dnp = VTONW(dvp);
nmp = VTONWFS(dvp);
- conn = NWFSTOCONN(nmp);
if (len == 1 && name[0] == '.') {
if (dnp->n_flag & NVOLUME) {
diff --git a/sys/fs/nwfs/nwfs_vnops.c b/sys/fs/nwfs/nwfs_vnops.c
index ca0a887..774ee1e 100644
--- a/sys/fs/nwfs/nwfs_vnops.c
+++ b/sys/fs/nwfs/nwfs_vnops.c
@@ -627,7 +627,6 @@ nwfs_mkdir(ap)
struct componentname *cnp = ap->a_cnp;
int len=cnp->cn_namelen;
struct ncp_open_info no;
- struct nwnode *np;
struct vnode *newvp = (struct vnode *)0;
ncpfid fid;
int error = 0;
@@ -651,7 +650,6 @@ nwfs_mkdir(ap)
fid.f_id = no.fattr.dirEntNum;
error = nwfs_nget(VTOVFS(dvp), fid, &no.fattr, dvp, &newvp);
if (!error) {
- np = VTONW(newvp);
newvp->v_type = VDIR;
*ap->a_vpp = newvp;
}
OpenPOWER on IntegriCloud