From patchwork Sat Jun 5 23:16:55 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sven Eckelmann X-Patchwork-Id: 185 Return-Path: Received: from mail.gmx.net (mail.gmx.net [213.165.64.20]) by open-mesh.net (Postfix) with SMTP id D7D83154311 for ; Sun, 6 Jun 2010 01:17:10 +0200 (CEST) Received: (qmail invoked by alias); 05 Jun 2010 23:17:09 -0000 Received: from unknown (EHLO sven-desktop.lazhur.ath.cx) [89.246.198.184] by mail.gmx.net (mp029) with SMTP; 06 Jun 2010 01:17:09 +0200 X-Authenticated: #15668376 X-Provags-ID: V01U2FsdGVkX18dRURdGOMdza0nvP2bnitiSmfnzuQ8MtwKaVBzX6 7gwALRgLM06TbT From: Sven Eckelmann To: b.a.t.m.a.n@lists.open-mesh.org Date: Sun, 6 Jun 2010 01:16:55 +0200 Message-Id: <1275779815-23681-1-git-send-email-sven.eckelmann@gmx.de> X-Mailer: git-send-email 1.7.1 X-Y-GMX-Trusted: 0 Subject: [B.A.T.M.A.N.] [PATCH-trunk] batman-adv: Remove unused code from compat.h X-BeenThere: b.a.t.m.a.n@lists.open-mesh.org X-Mailman-Version: 2.1.11 Precedence: list Reply-To: The list for a Better Approach To Mobile Ad-hoc Networking List-Id: The list for a Better Approach To Mobile Ad-hoc Networking List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 05 Jun 2010 23:17:11 -0000 Signed-off-by: Sven Eckelmann --- 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 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 */