Module Name:    src
Committed By:   christos
Date:           Thu Oct 17 21:04:12 UTC 2013

Modified Files:
        src/sys/fs/ntfs: ntfs_vfsops.c

Log Message:
remove unused code


To generate a diff of this commit:
cvs rdiff -u -r1.88 -r1.89 src/sys/fs/ntfs/ntfs_vfsops.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/fs/ntfs/ntfs_vfsops.c
diff -u src/sys/fs/ntfs/ntfs_vfsops.c:1.88 src/sys/fs/ntfs/ntfs_vfsops.c:1.89
--- src/sys/fs/ntfs/ntfs_vfsops.c:1.88	Mon Sep 30 14:58:00 2013
+++ src/sys/fs/ntfs/ntfs_vfsops.c	Thu Oct 17 17:04:12 2013
@@ -1,4 +1,4 @@
-/*	$NetBSD: ntfs_vfsops.c,v 1.88 2013/09/30 18:58:00 hannken Exp $	*/
+/*	$NetBSD: ntfs_vfsops.c,v 1.89 2013/10/17 21:04:12 christos Exp $	*/
 
 /*-
  * Copyright (c) 1998, 1999 Semen Ustimenko
@@ -29,7 +29,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: ntfs_vfsops.c,v 1.88 2013/09/30 18:58:00 hannken Exp $");
+__KERNEL_RCSID(0, "$NetBSD: ntfs_vfsops.c,v 1.89 2013/10/17 21:04:12 christos Exp $");
 
 #include <sys/param.h>
 #include <sys/systm.h>
@@ -307,7 +307,7 @@ ntfs_mountfs(struct vnode *devvp, struct
 	struct buf *bp;
 	struct ntfsmount *ntmp;
 	dev_t dev = devvp->v_rdev;
-	int error, ronly, i;
+	int error, i;
 	struct vnode *vp;
 
 	ntmp = NULL;
@@ -321,8 +321,6 @@ ntfs_mountfs(struct vnode *devvp, struct
 	if (error)
 		return (error);
 
-	ronly = (mp->mnt_flag & MNT_RDONLY) != 0;
-
 	bp = NULL;
 
 	error = bread(devvp, BBLOCK, BBSIZE, NOCRED, 0, &bp);

Reply via email to