Remove extra check unneded now
This commit is contained in:
parent
7d1192a784
commit
dc6e1079e6
@ -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.
|
||||
|
Loading…
Reference in New Issue
Block a user