summaryrefslogtreecommitdiffstats
path: root/net/decnet/sysctl_net_decnet.c
diff options
context:
space:
mode:
authorJoe Perches <joe@perches.com>2011-07-01 09:43:03 +0000
committerDavid S. Miller <davem@davemloft.net>2011-07-01 16:11:15 -0700
commit06f8fe11bb4a84de9d9faa50c7ffbe40b90d395a (patch)
tree79c244cd97661156649b6af488c4827729da634e /net/decnet/sysctl_net_decnet.c
parent4a9e4b09326baa6db30ae35e3521bf5259b238f5 (diff)
downloadtalos-obmc-linux-06f8fe11bb4a84de9d9faa50c7ffbe40b90d395a.tar.gz
talos-obmc-linux-06f8fe11bb4a84de9d9faa50c7ffbe40b90d395a.zip
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>
Diffstat (limited to 'net/decnet/sysctl_net_decnet.c')
-rw-r--r--net/decnet/sysctl_net_decnet.c17
1 files changed, 9 insertions, 8 deletions
diff --git a/net/decnet/sysctl_net_decnet.c b/net/decnet/sysctl_net_decnet.c
index 28f8b5e5f73b..02e75d11cfbb 100644
--- a/net/decnet/sysctl_net_decnet.c
+++ b/net/decnet/sysctl_net_decnet.c
@@ -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++;
}
OpenPOWER on IntegriCloud