summaryrefslogtreecommitdiffstats
path: root/sys/miscfs/devfs/devfs_vfsops.c
diff options
context:
space:
mode:
authorarchie <archie@FreeBSD.org>1998-12-07 21:58:50 +0000
committerarchie <archie@FreeBSD.org>1998-12-07 21:58:50 +0000
commit60d13c7a9dd18f720483338ebef03609492ca98c (patch)
tree5709d8cdab99e3c1cb9ae7c2117627c1031fdf39 /sys/miscfs/devfs/devfs_vfsops.c
parent2f8d013d96c256b3a48e227aab238e53eb9304cf (diff)
downloadFreeBSD-src-60d13c7a9dd18f720483338ebef03609492ca98c.zip
FreeBSD-src-60d13c7a9dd18f720483338ebef03609492ca98c.tar.gz
The "easy" fixes for compiling the kernel -Wunused: remove unreferenced static
and local variables, goto labels, and functions declared but not defined.
Diffstat (limited to 'sys/miscfs/devfs/devfs_vfsops.c')
-rw-r--r--sys/miscfs/devfs/devfs_vfsops.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/sys/miscfs/devfs/devfs_vfsops.c b/sys/miscfs/devfs/devfs_vfsops.c
index 0229dd0..95ae957 100644
--- a/sys/miscfs/devfs/devfs_vfsops.c
+++ b/sys/miscfs/devfs/devfs_vfsops.c
@@ -23,7 +23,7 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
- * $Id: devfs_vfsops.c,v 1.33 1998/09/08 16:59:37 bde Exp $
+ * $Id: devfs_vfsops.c,v 1.34 1998/10/31 15:31:23 peter Exp $
*
*/
@@ -258,7 +258,6 @@ static int
devfs_sync(struct mount *mp, int waitfor,struct ucred *cred,struct proc *p)
{
register struct vnode *vp, *nvp;
- struct timeval tv;
int error, allerror = 0;
DBPRINT(("sync "));
@@ -294,6 +293,8 @@ loop:
}
#ifdef NOTYET
else {
+ struct timeval tv;
+
tv = time;
/* VOP_UPDATE(vp, &tv, &tv, waitfor == MNT_WAIT); */
VOP_UPDATE(vp, &tv, &tv, 0);
OpenPOWER on IntegriCloud