diff options
author | Stephen Hemminger <shemminger@osdl.org> | 2005-04-20 01:39:42 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2005-04-20 01:39:42 -0400 |
commit | 9c2b3328f74800bb370d08bb3a4255d5fe833e94 (patch) | |
tree | 9d3092a44b592a091c4818a20bd678d1191f7a88 /include | |
parent | 98f245e797a01611d6734c7d192240f1361439d3 (diff) |
[NET]: skbuff: remove old NET_CALLER macro
Here is a revised alternative that uses BUG_ON/WARN_ON
(as suggested by Herbert Xu) to eliminate NET_CALLER.
Signed-off-by: Stephen Hemminger <shemminger@osdl.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/skbuff.h | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/include/linux/skbuff.h b/include/linux/skbuff.h index 9f2d75e4f087..22b701819619 100644 --- a/include/linux/skbuff.h +++ b/include/linux/skbuff.h | |||
@@ -83,12 +83,6 @@ | |||
83 | * Any questions? No questions, good. --ANK | 83 | * Any questions? No questions, good. --ANK |
84 | */ | 84 | */ |
85 | 85 | ||
86 | #ifdef __i386__ | ||
87 | #define NET_CALLER(arg) (*(((void **)&arg) - 1)) | ||
88 | #else | ||
89 | #define NET_CALLER(arg) __builtin_return_address(0) | ||
90 | #endif | ||
91 | |||
92 | struct net_device; | 86 | struct net_device; |
93 | 87 | ||
94 | #ifdef CONFIG_NETFILTER | 88 | #ifdef CONFIG_NETFILTER |