Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

net: Remove unnecessary semicolons

Semicolons are not necessary after switch/while/for/if braces
so remove them.

Signed-off-by: Joe Perches <joe@perches.com>
Signed-off-by: David S. Miller <davem@davemloft.net>

authored by

Joe Perches and committed by
David S. Miller
f81c6224 827d9780

+4 -4
+1 -1
net/batman-adv/hard-interface.c
··· 568 568 break; 569 569 default: 570 570 break; 571 - }; 571 + } 572 572 573 573 hardif_put: 574 574 hardif_free_ref(hard_iface);
+2 -2
net/bluetooth/hci_core.c
··· 1519 1519 1520 1520 data += (count - rem); 1521 1521 count = rem; 1522 - }; 1522 + } 1523 1523 1524 1524 return rem; 1525 1525 } ··· 1554 1554 1555 1555 data += (count - rem); 1556 1556 count = rem; 1557 - }; 1557 + } 1558 1558 1559 1559 return rem; 1560 1560 }
+1 -1
net/sunrpc/auth.c
··· 626 626 if (err < 0) 627 627 goto out; 628 628 cred = task->tk_rqstp->rq_cred; 629 - }; 629 + } 630 630 dprintk("RPC: %5u refreshing %s cred %p\n", 631 631 task->tk_pid, cred->cr_auth->au_ops->au_name, cred); 632 632