svn commit: r295370 - head/sys/fs/msdosfs

Pedro F. Giffuni pfg at FreeBSD.org
Sun Feb 7 15:36:18 UTC 2016


Author: pfg
Date: Sun Feb  7 15:36:16 2016
New Revision: 295370
URL: https://svnweb.freebsd.org/changeset/base/295370

Log:
  msdosfs_rename: yet another unused value.
  
  As with r295355, it seems to be left over from a cleanup
  in r33548. The code is not in NetBSD either.
  
  Thanks to bde for checking out the history.

Modified:
  head/sys/fs/msdosfs/msdosfs_vnops.c

Modified: head/sys/fs/msdosfs/msdosfs_vnops.c
==============================================================================
--- head/sys/fs/msdosfs/msdosfs_vnops.c	Sun Feb  7 15:26:21 2016	(r295369)
+++ head/sys/fs/msdosfs/msdosfs_vnops.c	Sun Feb  7 15:36:16 2016	(r295370)
@@ -941,13 +941,10 @@ msdosfs_rename(struct vop_rename_args *a
 	int error;
 	u_long cn, pcl;
 	daddr_t bn;
-	struct denode *fddep;	/* from file's parent directory	 */
 	struct msdosfsmount *pmp;
 	struct direntry *dotdotp;
 	struct buf *bp;
 
-	fddep = VTODE(ap->a_fdvp);
-
 	pmp = VFSTOMSDOSFS(fdvp->v_mount);
 
 #ifdef DIAGNOSTIC


More information about the svn-src-head mailing list