diff mbox

[trunk] batman-adv: Remove unused code from compat.h

Message ID 1275779815-23681-1-git-send-email-sven.eckelmann@gmx.de
State Superseded, archived
Headers show

Commit Message

Sven Eckelmann June 5, 2010, 11:16 p.m. UTC
Signed-off-by: Sven Eckelmann <sven.eckelmann@gmx.de>
---
 batman-adv-kernelland/compat.h |   14 --------------
 1 files changed, 0 insertions(+), 14 deletions(-)

Comments

Marek Lindner June 9, 2010, 9:10 p.m. UTC | #1
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
diff mbox

Patch

diff --git a/batman-adv-kernelland/compat.h b/batman-adv-kernelland/compat.h
index 614d116..af0e9d8 100644
--- a/batman-adv-kernelland/compat.h
+++ b/batman-adv-kernelland/compat.h
@@ -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 */