diff --git a/sys/dev/vn/vn.c b/sys/dev/vn/vn.c index ed940d7c734..189bb0e1073 100644 --- a/sys/dev/vn/vn.c +++ b/sys/dev/vn/vn.c @@ -151,7 +151,7 @@ vnclose(dev_t dev, int flags, int mode, struct proc *p) int vnopen(dev_t dev, int flags, int mode, struct proc *p) { - int unit = vnunit(dev),size; + int unit = vnunit(dev); struct vn_softc *vn; if (unit >= NVN) {