diff options
author | Shan Wei <shanwei@cn.fujitsu.com> | 2010-12-01 13:05:17 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2010-12-02 16:27:33 -0500 |
commit | dca9b2404a6d6579828da2425c051462701efd3f (patch) | |
tree | c8f5fdd5f52e1ede8716703323f4297234a1e687 /include/net/sock.h | |
parent | b672083ed36a49c323737b7c7e1d5264a7c193af (diff) |
net: kill unused macros from head file
These macros have been defined for several years since v2.6.12-rc2(tracing by git),
but never be used. So remove them.
Signed-off-by: Shan Wei <shanwei@cn.fujitsu.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/net/sock.h')
-rw-r--r-- | include/net/sock.h | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/include/net/sock.h b/include/net/sock.h index 5557dfb3dd68..717cfbf649df 100644 --- a/include/net/sock.h +++ b/include/net/sock.h | |||
@@ -516,9 +516,6 @@ static __inline__ void sk_add_bind_node(struct sock *sk, | |||
516 | #define sk_nulls_for_each_from(__sk, node) \ | 516 | #define sk_nulls_for_each_from(__sk, node) \ |
517 | if (__sk && ({ node = &(__sk)->sk_nulls_node; 1; })) \ | 517 | if (__sk && ({ node = &(__sk)->sk_nulls_node; 1; })) \ |
518 | hlist_nulls_for_each_entry_from(__sk, node, sk_nulls_node) | 518 | hlist_nulls_for_each_entry_from(__sk, node, sk_nulls_node) |
519 | #define sk_for_each_continue(__sk, node) \ | ||
520 | if (__sk && ({ node = &(__sk)->sk_node; 1; })) \ | ||
521 | hlist_for_each_entry_continue(__sk, node, sk_node) | ||
522 | #define sk_for_each_safe(__sk, node, tmp, list) \ | 519 | #define sk_for_each_safe(__sk, node, tmp, list) \ |
523 | hlist_for_each_entry_safe(__sk, node, tmp, list, sk_node) | 520 | hlist_for_each_entry_safe(__sk, node, tmp, list, sk_node) |
524 | #define sk_for_each_bound(__sk, node, list) \ | 521 | #define sk_for_each_bound(__sk, node, list) \ |