tty: Remove an incorrect assertion from ttyinq_line_iterate()
We may legitimately have tib == NULL if we're at the very end of the queue. PR: 215373 Reported by: pho MFC after: 1 week Sponsored by: The FreeBSD Foundation
This commit is contained in:
parent
6e563a1b60
commit
d769609620
@ -464,7 +464,6 @@ ttyinq_line_iterate(struct ttyinq *ti,
|
||||
/* Last byte iterated - go to the next block. */
|
||||
if (boff == TTYINQ_DATASIZE - 1)
|
||||
tib = tib->tib_next;
|
||||
MPASS(tib != NULL);
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user