decnet: Reduce switch/case indent
Make the case labels the same indent as the switch. git diff -w shows differences for line wrapping. (fit multiple lines to 80 columns, join where possible) Signed-off-by: Joe Perches <joe@perches.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
committed by
David S. Miller
parent
4a9e4b0932
commit
06f8fe11bb
@ -68,14 +68,15 @@ static struct ctl_table_header *dn_table_header = NULL;
|
||||
static void strip_it(char *str)
|
||||
{
|
||||
for(;;) {
|
||||
switch(*str) {
|
||||
case ' ':
|
||||
case '\n':
|
||||
case '\r':
|
||||
case ':':
|
||||
*str = 0;
|
||||
case 0:
|
||||
return;
|
||||
switch (*str) {
|
||||
case ' ':
|
||||
case '\n':
|
||||
case '\r':
|
||||
case ':':
|
||||
*str = 0;
|
||||
/* Fallthrough */
|
||||
case 0:
|
||||
return;
|
||||
}
|
||||
str++;
|
||||
}
|
||||
|
Reference in New Issue
Block a user