diff options
author | ache <ache@FreeBSD.org> | 2001-08-24 10:20:26 +0000 |
---|---|---|
committer | ache <ache@FreeBSD.org> | 2001-08-24 10:20:26 +0000 |
commit | 156b56921d508fff16e51ba2d7a2cde32ee688e1 (patch) | |
tree | 44383bf8e74def250399abdee4a0fc179a6e8beb /sys/kern/kern_lockf.c | |
parent | c05ab921afc21de46a12e5b7ada2f10d8e240df2 (diff) | |
download | FreeBSD-src-156b56921d508fff16e51ba2d7a2cde32ee688e1.zip FreeBSD-src-156b56921d508fff16e51ba2d7a2cde32ee688e1.tar.gz |
Remove extra check unneded now
Diffstat (limited to 'sys/kern/kern_lockf.c')
-rw-r--r-- | sys/kern/kern_lockf.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/sys/kern/kern_lockf.c b/sys/kern/kern_lockf.c index 53c6017..ae2ebe9 100644 --- a/sys/kern/kern_lockf.c +++ b/sys/kern/kern_lockf.c @@ -149,8 +149,6 @@ lf_advlock(ap, head, size) if (oadd > OFF_MAX - start) return (EOVERFLOW); end = start + oadd; - if (end < start) - return (EINVAL); } /* * Avoid the common case of unlocking when inode has no locks. |