try to satisfy clang's '-Wempty-body'

(cherry picked from commit aef2accfa3)
This commit is contained in:
goldsimon 2017-03-17 11:22:30 +01:00
parent 1cf9fc0d39
commit f5438b1b43

View File

@ -849,7 +849,9 @@ netif_loop_output(struct netif *netif, struct pbuf *p)
netif_poll(). */ netif_poll(). */
/* let last point to the last pbuf in chain r */ /* let last point to the last pbuf in chain r */
for (last = r; last->next != NULL; last = last->next); for (last = r; last->next != NULL; last = last->next) {
/* nothing to do here, just get to the last pbuf */
}
SYS_ARCH_PROTECT(lev); SYS_ARCH_PROTECT(lev);
if (netif->loop_first != NULL) { if (netif->loop_first != NULL) {