Author: kib Date: Tue Jun 23 10:37:28 2009 New Revision: 194691 URL: http://svn.freebsd.org/changeset/base/194691
Log: MFC r185358 (by ganbold): Remove unused variable. Modified: stable/7/sys/ (props changed) stable/7/sys/contrib/pf/ (props changed) stable/7/sys/kern/kern_lockf.c Modified: stable/7/sys/kern/kern_lockf.c ============================================================================== --- stable/7/sys/kern/kern_lockf.c Tue Jun 23 09:51:38 2009 (r194690) +++ stable/7/sys/kern/kern_lockf.c Tue Jun 23 10:37:28 2009 (r194691) @@ -1342,7 +1342,6 @@ static int lf_setlock(struct lockf *state, struct lockf_entry *lock, struct vnode *vp, void **cookiep) { - struct lockf_entry *block; static char lockstr[] = "lockf"; int priority, error; @@ -1362,7 +1361,7 @@ lf_setlock(struct lockf *state, struct l /* * Scan lock list for this file looking for locks that would block us. */ - while ((block = lf_getblock(state, lock))) { + while (lf_getblock(state, lock)) { /* * Free the structure and return if nonblocking. */ _______________________________________________ svn-src-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"