mirror of
https://github.com/lwip-tcpip/lwip.git
synced 2024-12-26 03:16:18 +00:00
etharp: Remove superfluous assert checking in free_etharp_q
The same checking is done while iterating the list in the while loop. Signed-off-by: Axel Lin <axel.lin@ingics.com>
This commit is contained in:
parent
e93cecf527
commit
fe3bb8bb78
@ -150,7 +150,6 @@ free_etharp_q(struct etharp_q_entry *q)
|
||||
{
|
||||
struct etharp_q_entry *r;
|
||||
LWIP_ASSERT("q != NULL", q != NULL);
|
||||
LWIP_ASSERT("q->p != NULL", q->p != NULL);
|
||||
while (q) {
|
||||
r = q;
|
||||
q = q->next;
|
||||
|
Loading…
Reference in New Issue
Block a user