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
|
@ -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…
Reference in New Issue