diff options
author | Eldad Zack <eldad@fogrefinery.com> | 2012-06-16 09:14:49 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2012-06-16 18:20:35 -0400 |
commit | 7f95e1880e70bb351b992b01ef70ff083fc00d30 (patch) | |
tree | 685089b20242917d648c41f887d82d653fd00535 /include/net/dst.h | |
parent | aee289baaa02dd2ffa1189c1600d5572a10e0714 (diff) |
include/net/dst.h: neaten asterisk placement
Fix code style - place the asterisk where it belongs.
Signed-off-by: Eldad Zack <eldad@fogrefinery.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/net/dst.h')
-rw-r--r-- | include/net/dst.h | 17 |
1 files changed, 8 insertions, 9 deletions
diff --git a/include/net/dst.h b/include/net/dst.h index 8197eadca819..f0bf3b8d5911 100644 --- a/include/net/dst.h +++ b/include/net/dst.h | |||
@@ -48,8 +48,8 @@ struct dst_entry { | |||
48 | #else | 48 | #else |
49 | void *__pad1; | 49 | void *__pad1; |
50 | #endif | 50 | #endif |
51 | int (*input)(struct sk_buff*); | 51 | int (*input)(struct sk_buff *); |
52 | int (*output)(struct sk_buff*); | 52 | int (*output)(struct sk_buff *); |
53 | 53 | ||
54 | int flags; | 54 | int flags; |
55 | #define DST_HOST 0x0001 | 55 | #define DST_HOST 0x0001 |
@@ -241,7 +241,7 @@ dst_metric_locked(const struct dst_entry *dst, int metric) | |||
241 | return dst_metric(dst, RTAX_LOCK) & (1<<metric); | 241 | return dst_metric(dst, RTAX_LOCK) & (1<<metric); |
242 | } | 242 | } |
243 | 243 | ||
244 | static inline void dst_hold(struct dst_entry * dst) | 244 | static inline void dst_hold(struct dst_entry *dst) |
245 | { | 245 | { |
246 | /* | 246 | /* |
247 | * If your kernel compilation stops here, please check | 247 | * If your kernel compilation stops here, please check |
@@ -264,8 +264,7 @@ static inline void dst_use_noref(struct dst_entry *dst, unsigned long time) | |||
264 | dst->lastuse = time; | 264 | dst->lastuse = time; |
265 | } | 265 | } |
266 | 266 | ||
267 | static inline | 267 | static inline struct dst_entry *dst_clone(struct dst_entry *dst) |
268 | struct dst_entry * dst_clone(struct dst_entry * dst) | ||
269 | { | 268 | { |
270 | if (dst) | 269 | if (dst) |
271 | atomic_inc(&dst->__refcnt); | 270 | atomic_inc(&dst->__refcnt); |
@@ -371,12 +370,12 @@ static inline struct dst_entry *skb_dst_pop(struct sk_buff *skb) | |||
371 | } | 370 | } |
372 | 371 | ||
373 | extern int dst_discard(struct sk_buff *skb); | 372 | extern int dst_discard(struct sk_buff *skb); |
374 | extern void *dst_alloc(struct dst_ops * ops, struct net_device *dev, | 373 | extern void *dst_alloc(struct dst_ops *ops, struct net_device *dev, |
375 | int initial_ref, int initial_obsolete, int flags); | 374 | int initial_ref, int initial_obsolete, int flags); |
376 | extern void __dst_free(struct dst_entry * dst); | 375 | extern void __dst_free(struct dst_entry *dst); |
377 | extern struct dst_entry *dst_destroy(struct dst_entry * dst); | 376 | extern struct dst_entry *dst_destroy(struct dst_entry *dst); |
378 | 377 | ||
379 | static inline void dst_free(struct dst_entry * dst) | 378 | static inline void dst_free(struct dst_entry *dst) |
380 | { | 379 | { |
381 | if (dst->obsolete > 1) | 380 | if (dst->obsolete > 1) |
382 | return; | 381 | return; |