net/devif/devif_callback.c: Remove a redundant assignment

Found by clang-check:

devif/devif_callback.c:508:7: warning: Value stored to 'cb' is never read
      cb = next;
      ^    ~~~~
1 warning generated.
This commit is contained in:
YAMAMOTO Takashi 2020-07-30 17:03:06 +09:00 committed by Alin Jerpelea
parent b6316e9a03
commit 9087eb6d84
1 changed files with 0 additions and 4 deletions

View File

@ -502,10 +502,6 @@ uint16_t devif_dev_event(FAR struct net_driver_s *dev, void *pvconn,
flags = cb->event(dev, pvconn, cb->priv, flags);
}
/* Set up for the next time through the loop */
cb = next;
}
net_unlock();