Remove unneeded braces to reduce used vertical screen space.
This commit is contained in:
parent
ddb884c82e
commit
bf5c835e1c
@ -957,9 +957,8 @@ vn_fullpath1(struct thread *td, struct vnode *vp, struct vnode *rdir,
|
||||
vp = ncp->nc_dvp;
|
||||
} else {
|
||||
error = vn_vptocnp(&vp, &bp, buf, &buflen);
|
||||
if (error) {
|
||||
if (error)
|
||||
return (error);
|
||||
}
|
||||
}
|
||||
*--bp = '/';
|
||||
buflen--;
|
||||
@ -1022,9 +1021,8 @@ vn_fullpath1(struct thread *td, struct vnode *vp, struct vnode *rdir,
|
||||
numfullpathfail4++;
|
||||
CACHE_RUNLOCK();
|
||||
return (ENOMEM);
|
||||
} else {
|
||||
} else
|
||||
*--bp = '/';
|
||||
}
|
||||
}
|
||||
numfullpathfound++;
|
||||
CACHE_RUNLOCK();
|
||||
|
Loading…
Reference in New Issue
Block a user