Remove dead code.
Reported by: Coverity Coverity CID: 1018057 MFC after: 2 weeks
This commit is contained in:
parent
79c596309c
commit
955a2deb52
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=260398
@ -283,8 +283,6 @@ ifindex_alloc_locked(u_short *idxp)
|
||||
}
|
||||
|
||||
/* Catch if_index overflow. */
|
||||
if (idx < 1)
|
||||
return (ENOSPC);
|
||||
if (idx >= V_if_indexlim) {
|
||||
if_grow();
|
||||
goto retry;
|
||||
|
Loading…
Reference in New Issue
Block a user