Author: marek Date: 2010-06-09 23:09:13 +0200 (Wed, 09 Jun 2010) New Revision: 1696
Modified: trunk/batman-adv-kernelland/compat.h Log: batman-adv: Remove unused code from compat.h
Signed-off-by: Sven Eckelmann sven.eckelmann@gmx.de
Modified: trunk/batman-adv-kernelland/compat.h =================================================================== --- trunk/batman-adv-kernelland/compat.h 2010-06-09 21:09:12 UTC (rev 1695) +++ trunk/batman-adv-kernelland/compat.h 2010-06-09 21:09:13 UTC (rev 1696) @@ -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 */