You've already forked linux-apfs
mirror of
https://github.com/linux-apfs/linux-apfs.git
synced 2026-05-01 15:00:59 -07:00
[NET]: cleanup extra semicolons
Spring cleaning time...
There seems to be a lot of places in the network code that have
extra bogus semicolons after conditionals. Most commonly is a
bogus semicolon after: switch() { }
Signed-off-by: Stephen Hemminger <shemminger@linux-foundation.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
committed by
David S. Miller
parent
c462238d6a
commit
3ff50b7997
+6
-6
@@ -338,7 +338,7 @@ int sctp_outq_tail(struct sctp_outq *q, struct sctp_chunk *chunk)
|
||||
SCTP_INC_STATS(SCTP_MIB_OUTORDERCHUNKS);
|
||||
q->empty = 0;
|
||||
break;
|
||||
};
|
||||
}
|
||||
} else {
|
||||
list_add_tail(&chunk->list, &q->control_chunk_list);
|
||||
SCTP_INC_STATS(SCTP_MIB_OUTCTRLCHUNKS);
|
||||
@@ -630,7 +630,7 @@ static int sctp_outq_flush_rtx(struct sctp_outq *q, struct sctp_packet *pkt,
|
||||
/* Retrieve a new chunk to bundle. */
|
||||
lchunk = sctp_list_dequeue(lqueue);
|
||||
break;
|
||||
};
|
||||
}
|
||||
|
||||
/* If we are here due to a retransmit timeout or a fast
|
||||
* retransmit and if there are any chunks left in the retransmit
|
||||
@@ -779,7 +779,7 @@ int sctp_outq_flush(struct sctp_outq *q, int rtx_timeout)
|
||||
default:
|
||||
/* We built a chunk with an illegal type! */
|
||||
BUG();
|
||||
};
|
||||
}
|
||||
}
|
||||
|
||||
/* Is it OK to send data chunks? */
|
||||
@@ -1397,7 +1397,7 @@ static void sctp_check_transmitted(struct sctp_outq *q,
|
||||
SCTP_DEBUG_PRINTK("ACKed: %08x", tsn);
|
||||
dbg_prt_state = 0;
|
||||
dbg_ack_tsn = tsn;
|
||||
};
|
||||
}
|
||||
|
||||
dbg_last_ack_tsn = tsn;
|
||||
#endif /* SCTP_DEBUG */
|
||||
@@ -1452,7 +1452,7 @@ static void sctp_check_transmitted(struct sctp_outq *q,
|
||||
SCTP_DEBUG_PRINTK("KEPT: %08x",tsn);
|
||||
dbg_prt_state = 1;
|
||||
dbg_kept_tsn = tsn;
|
||||
};
|
||||
}
|
||||
|
||||
dbg_last_kept_tsn = tsn;
|
||||
#endif /* SCTP_DEBUG */
|
||||
@@ -1476,7 +1476,7 @@ static void sctp_check_transmitted(struct sctp_outq *q,
|
||||
} else {
|
||||
SCTP_DEBUG_PRINTK("\n");
|
||||
}
|
||||
};
|
||||
}
|
||||
#endif /* SCTP_DEBUG */
|
||||
if (transport) {
|
||||
if (bytes_acked) {
|
||||
|
||||
Reference in New Issue
Block a user