diff options
author | YOSHIFUJI Hideaki <yoshfuji@linux-ipv6.org> | 2007-02-09 09:24:36 -0500 |
---|---|---|
committer | David S. Miller <davem@sunset.davemloft.net> | 2007-02-11 02:19:25 -0500 |
commit | 4ec93edb14fe5fdee9fae6335f2cbba204627eac (patch) | |
tree | b768f96942b5d19f5bc36b47262c42a8a7acdd7f /net/core/dst.c | |
parent | 9d6f229fc45b6ac268020c0c8eff29e94bb34381 (diff) |
[NET] CORE: Fix whitespace errors.
Signed-off-by: YOSHIFUJI Hideaki <yoshfuji@linux-ipv6.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/core/dst.c')
-rw-r--r-- | net/core/dst.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/net/core/dst.c b/net/core/dst.c index 1a53fb39b7e0..0ab9a981fc6d 100644 --- a/net/core/dst.c +++ b/net/core/dst.c | |||
@@ -29,7 +29,7 @@ | |||
29 | * 4) All operations modify state, so a spinlock is used. | 29 | * 4) All operations modify state, so a spinlock is used. |
30 | */ | 30 | */ |
31 | static struct dst_entry *dst_garbage_list; | 31 | static struct dst_entry *dst_garbage_list; |
32 | #if RT_CACHE_DEBUG >= 2 | 32 | #if RT_CACHE_DEBUG >= 2 |
33 | static atomic_t dst_total = ATOMIC_INIT(0); | 33 | static atomic_t dst_total = ATOMIC_INIT(0); |
34 | #endif | 34 | #endif |
35 | static DEFINE_SPINLOCK(dst_lock); | 35 | static DEFINE_SPINLOCK(dst_lock); |
@@ -142,7 +142,7 @@ void * dst_alloc(struct dst_ops * ops) | |||
142 | dst->path = dst; | 142 | dst->path = dst; |
143 | dst->input = dst_discard_in; | 143 | dst->input = dst_discard_in; |
144 | dst->output = dst_discard_out; | 144 | dst->output = dst_discard_out; |
145 | #if RT_CACHE_DEBUG >= 2 | 145 | #if RT_CACHE_DEBUG >= 2 |
146 | atomic_inc(&dst_total); | 146 | atomic_inc(&dst_total); |
147 | #endif | 147 | #endif |
148 | atomic_inc(&ops->entries); | 148 | atomic_inc(&ops->entries); |
@@ -203,7 +203,7 @@ again: | |||
203 | dst->ops->destroy(dst); | 203 | dst->ops->destroy(dst); |
204 | if (dst->dev) | 204 | if (dst->dev) |
205 | dev_put(dst->dev); | 205 | dev_put(dst->dev); |
206 | #if RT_CACHE_DEBUG >= 2 | 206 | #if RT_CACHE_DEBUG >= 2 |
207 | atomic_dec(&dst_total); | 207 | atomic_dec(&dst_total); |
208 | #endif | 208 | #endif |
209 | kmem_cache_free(dst->ops->kmem_cachep, dst); | 209 | kmem_cache_free(dst->ops->kmem_cachep, dst); |