Author: ganbold (doc committer) Date: Thu Nov 27 04:40:37 2008 New Revision: 185358 URL: http://svn.freebsd.org/changeset/base/185358
Log: Remove unused variable. Found with: Coverity Prevent(tm) CID: 3664 Approved by: kib Modified: head/sys/kern/kern_lockf.c Modified: head/sys/kern/kern_lockf.c ============================================================================== --- head/sys/kern/kern_lockf.c Thu Nov 27 03:37:46 2008 (r185357) +++ head/sys/kern/kern_lockf.c Thu Nov 27 04:40:37 2008 (r185358) @@ -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 "[EMAIL PROTECTED]"