Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit c4855389 authored by Joe Perches's avatar Joe Perches Committed by David S. Miller
Browse files

netrom: Reduce switch/case indent



Make the case labels the same indent as the switch.

git diff -w shows code on same line as case moved
to separate lines and a "/* Fallthrough */" comment
added where appropriate.

Signed-off-by: default avatarJoe Perches <joe@perches.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent fcb261f3
Loading
Loading
Loading
Loading
+13 −9
Original line number Diff line number Diff line
@@ -257,9 +257,12 @@ static int __must_check nr_add_node(ax25_address *nr, const char *mnemonic,
	case 3:
		if (nr_node->routes[1].quality > nr_node->routes[0].quality) {
			switch (nr_node->which) {
				case 0:  nr_node->which = 1; break;
				case 1:  nr_node->which = 0; break;
				default: break;
			case 0:
				nr_node->which = 1;
				break;
			case 1:
				nr_node->which = 0;
				break;
			}
			nr_route           = nr_node->routes[0];
			nr_node->routes[0] = nr_node->routes[1];
@@ -507,6 +510,7 @@ static int nr_dec_obs(void)
				switch (i) {
				case 0:
					s->routes[0] = s->routes[1];
					/* Fallthrough */
				case 1:
					s->routes[1] = s->routes[2];
				case 2: