diff options
author | Joe Perches <joe@perches.com> | 2011-07-01 05:43:03 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2011-07-01 19:11:15 -0400 |
commit | 06f8fe11bb4a84de9d9faa50c7ffbe40b90d395a (patch) | |
tree | 79c244cd97661156649b6af488c4827729da634e /net/decnet/dn_table.c | |
parent | 4a9e4b09326baa6db30ae35e3521bf5259b238f5 (diff) |
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/dn_table.c')
-rw-r--r-- | net/decnet/dn_table.c | 23 |
1 files changed, 12 insertions, 11 deletions
diff --git a/net/decnet/dn_table.c b/net/decnet/dn_table.c index bd0a52dd1d40..cd0354e9bdb3 100644 --- a/net/decnet/dn_table.c +++ b/net/decnet/dn_table.c | |||
@@ -147,17 +147,18 @@ static void dn_rehash_zone(struct dn_zone *dz) | |||
147 | 147 | ||
148 | old_divisor = dz->dz_divisor; | 148 | old_divisor = dz->dz_divisor; |
149 | 149 | ||
150 | switch(old_divisor) { | 150 | switch (old_divisor) { |
151 | case 16: | 151 | case 16: |
152 | new_divisor = 256; | 152 | new_divisor = 256; |
153 | new_hashmask = 0xFF; | 153 | new_hashmask = 0xFF; |
154 | break; | 154 | break; |
155 | default: | 155 | default: |
156 | printk(KERN_DEBUG "DECnet: dn_rehash_zone: BUG! %d\n", old_divisor); | 156 | printk(KERN_DEBUG "DECnet: dn_rehash_zone: BUG! %d\n", |
157 | case 256: | 157 | old_divisor); |
158 | new_divisor = 1024; | 158 | case 256: |
159 | new_hashmask = 0x3FF; | 159 | new_divisor = 1024; |
160 | break; | 160 | new_hashmask = 0x3FF; |
161 | break; | ||
161 | } | 162 | } |
162 | 163 | ||
163 | ht = kcalloc(new_divisor, sizeof(struct dn_fib_node*), GFP_KERNEL); | 164 | ht = kcalloc(new_divisor, sizeof(struct dn_fib_node*), GFP_KERNEL); |