mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-06-20 05:31:15 +00:00
ipv4: do clean up with spaces
Fix checkpatch errors like: ERROR: spaces required around that XXX Signed-off-by: Weilong Chen <chenweilong@huawei.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
f55b0821b9
commit
a22318e83b
2 changed files with 8 additions and 8 deletions
|
@ -3686,7 +3686,7 @@ const u8 *tcp_parse_md5sig_option(const struct tcphdr *th)
|
|||
int opcode = *ptr++;
|
||||
int opsize;
|
||||
|
||||
switch(opcode) {
|
||||
switch (opcode) {
|
||||
case TCPOPT_EOL:
|
||||
return NULL;
|
||||
case TCPOPT_NOP:
|
||||
|
@ -4046,7 +4046,7 @@ static void tcp_sack_remove(struct tcp_sock *tp)
|
|||
WARN_ON(before(tp->rcv_nxt, sp->end_seq));
|
||||
|
||||
/* Zap this SACK, by moving forward any other SACKS. */
|
||||
for (i=this_sack+1; i < num_sacks; i++)
|
||||
for (i = this_sack+1; i < num_sacks; i++)
|
||||
tp->selective_acks[i-1] = tp->selective_acks[i];
|
||||
num_sacks--;
|
||||
continue;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue