mirror of
https://github.com/apache/nuttx.git
synced 2026-08-25 07:27:11 +00:00
net/devif/devif_callback.c: remove harmful debug check
N/A Cause of curr maybe NULL, and following logic can handle this Change-Id: I999c051a8f2e2698400fc8793ba068073a306972 Signed-off-by: ligd <liguiding1@xiaomi.com>
This commit is contained in:
parent
904a602c74
commit
90f3d2851c
1 changed files with 0 additions and 1 deletions
|
|
@ -99,7 +99,6 @@ static void devif_callback_free(FAR struct net_driver_s *dev,
|
|||
|
||||
/* Remove the structure from the device event list */
|
||||
|
||||
DEBUGASSERT(curr);
|
||||
if (curr != NULL)
|
||||
{
|
||||
if (prev)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue