Remove extra check unneded now

This commit is contained in:
Andrey A. Chernov 2001-08-24 10:20:26 +00:00
parent 7d1192a784
commit dc6e1079e6

View File

@ -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.