minor: fixed coding style (lwip style)

This commit is contained in:
goldsimon
2015-10-07 10:03:12 +02:00
parent 2949449e25
commit b401f42520
22 changed files with 69 additions and 69 deletions

View File

@@ -145,7 +145,7 @@ low_level_output(struct netif *netif, struct pbuf *p)
pbuf_header(p, -ETH_PAD_SIZE); /* drop the padding word */
#endif
for(q = p; q != NULL; q = q->next) {
for (q = p; q != NULL; q = q->next) {
/* Send the data from the pbuf to the interface, one pbuf at a
time. The size of the data in each pbuf is kept in the ->len
variable. */
@@ -197,7 +197,7 @@ low_level_input(struct netif *netif)
/* We iterate over the pbuf chain until we have read the entire
* packet into the pbuf. */
for(q = p; q != NULL; q = q->next) {
for (q = p; q != NULL; q = q->next) {
/* Read enough bytes to fill this pbuf in the chain. The
* available data in the pbuf is given by the q->len
* variable.

View File

@@ -485,7 +485,7 @@ slipif_rxbyte_enqueue(struct netif *netif, u8_t data)
#if SLIP_RX_QUEUE
/* queue multiple pbufs */
struct pbuf *q = p;
while(q->next != NULL) {
while (q->next != NULL) {
q = q->next;
}
q->next = p;