Copy from kern_lockf.c: remove extra check

This commit is contained in:
Andrey A. Chernov 2001-08-24 10:22:16 +00:00
parent dc6e1079e6
commit 5215e1ea12

View File

@ -1024,8 +1024,6 @@ smbfs_advlock(ap)
if (oadd > OFF_MAX - start)
return EOVERFLOW;
end = start + oadd;
if (end < start)
return EINVAL;
}
smb_makescred(&scred, p, p ? p->p_ucred : NULL);
switch (ap->a_op) {