DragonFly BSD
DragonFly submit List (threaded) for 2006-01
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

ntfs warnings patch


From: Alexey Slynko <slynko@xxxxxxxxx>
Date: Wed, 18 Jan 2006 19:22:52 +0300

Hi,

1) Remove unused variables
Index: /usr/src1/sys/vfs/ntfs/ntfs_subr.c
===================================================================
RCS file: /mnt/share/dragonfly-cvs/src/sys/vfs/ntfs/ntfs_subr.c,v
retrieving revision 1.17
diff -u -r1.17 ntfs_subr.c
--- /usr/src1/sys/vfs/ntfs/ntfs_subr.c	24 Nov 2005 02:16:17 -0000	1.17
+++ /usr/src1/sys/vfs/ntfs/ntfs_subr.c	15 Jan 2006 23:09:28 -0000
@@ -346,8 +346,6 @@
 int
 ntfs_ntget(struct ntnode *ip)
 {
-	lwkt_tokref ilock;
-
 	dprintf(("ntfs_ntget: get ntnode %"PRId64": %p, usecount: %d\n",
 		ip->i_number, ip, ip->i_usecount));
 
@@ -483,8 +481,6 @@
 void
 ntfs_ntrele(struct ntnode *ip)
 {
-	lwkt_tokref ilock;
-
 	dprintf(("ntfs_ntrele: rele ntnode %"PRId64": %p, usecount: %d\n",
 		ip->i_number, ip, ip->i_usecount));
 


[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]