Fix an unused variable warning.

This commit is contained in:
Peter Wemm 1999-11-18 09:07:30 +00:00
parent cde35e1a3d
commit ac09d23cfa
2 changed files with 0 additions and 2 deletions

View File

@ -704,7 +704,6 @@ union_mknod(ap)
int error = EROFS;
if ((dvp = union_lock_upper(dun, cnp->cn_proc)) != NULL) {
struct vnode *vp;
error = VOP_MKNOD(dvp, ap->a_vpp, cnp, ap->a_vap);
union_unlock_upper(dvp, cnp->cn_proc);
}

View File

@ -704,7 +704,6 @@ union_mknod(ap)
int error = EROFS;
if ((dvp = union_lock_upper(dun, cnp->cn_proc)) != NULL) {
struct vnode *vp;
error = VOP_MKNOD(dvp, ap->a_vpp, cnp, ap->a_vap);
union_unlock_upper(dvp, cnp->cn_proc);
}