[trunk] batman-adv: Remove unused code from compat.h
Commit Message
Signed-off-by: Sven Eckelmann <sven.eckelmann@gmx.de>
---
batman-adv-kernelland/compat.h | 14 --------------
1 files changed, 0 insertions(+), 14 deletions(-)
Comments
On Sunday 06 June 2010 07:16:55 Sven Eckelmann wrote:
> Signed-off-by: Sven Eckelmann <sven.eckelmann@gmx.de>
> ---
> batman-adv-kernelland/compat.h | 14 --------------
> 1 files changed, 0 insertions(+), 14 deletions(-)
>
> diff --git a/batman-adv-kernelland/compat.h
> b/batman-adv-kernelland/compat.h
Applied in revision 1696.
Thanks,
Marek
@@ -43,9 +43,6 @@
#define skb_mac_header(_skb) \
((_skb)->mac.raw)
-#define skb_network_header(_skb) \
- ((_skb)->nh.raw)
-
#define skb_mac_header(_skb) \
((_skb)->mac.raw)
@@ -53,17 +50,6 @@
#if LINUX_VERSION_CODE < KERNEL_VERSION(2, 6, 23)
-#define transtable_local_read(kobj, attr, buff, off, count) \
- transtable_local_read(kobj, buff, off, count)
-#define transtable_global_read(kobj, attr, buff, off, count) \
- transtable_global_read(kobj, buff, off, count)
-#define originators_read(kobj, attr, buff, off, count) \
- originators_read(kobj, buff, off, count)
-#define gateways_read(kobj, attr, buff, off, count) \
- gateways_read(kobj, buff, off, count)
-#define vis_data_read(kobj, attr, buff, off, count) \
- vis_data_read(kobj, buff, off, count)
-
static inline int skb_clone_writable(struct sk_buff *skb, unsigned int len)
{
/* skb->hdr_len not available, just "not writable" to enforce a copy */