From patchwork Sat Jun 5 23:17:04 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sven Eckelmann X-Patchwork-Id: 199 Return-Path: Received: from mail.gmx.net (mail.gmx.net [213.165.64.20]) by open-mesh.net (Postfix) with SMTP id 3476515437A for ; Sun, 6 Jun 2010 01:17:20 +0200 (CEST) Received: (qmail invoked by alias); 05 Jun 2010 23:17:19 -0000 Received: from unknown (EHLO sven-desktop.lazhur.ath.cx) [89.246.198.184] by mail.gmx.net (mp059) with SMTP; 06 Jun 2010 01:17:19 +0200 X-Authenticated: #15668376 X-Provags-ID: V01U2FsdGVkX18Hrj15KkIH0twrq6oh5jJHIJsCqCe3DOF9mNsyEU CbmTRQ3bU2IAsW From: Sven Eckelmann To: b.a.t.m.a.n@lists.open-mesh.org Date: Sun, 6 Jun 2010 01:17:04 +0200 Message-Id: <1275779824-23722-1-git-send-email-sven.eckelmann@gmx.de> X-Mailer: git-send-email 1.7.1 In-Reply-To: <1275779815-23681-1-git-send-email-sven.eckelmann@gmx.de> References: <1275779815-23681-1-git-send-email-sven.eckelmann@gmx.de> X-Y-GMX-Trusted: 0 Subject: [B.A.T.M.A.N.] [PATCH-maint] 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:20 -0000 Signed-off-by: Sven Eckelmann --- compat.h | 14 -------------- 1 files changed, 0 insertions(+), 14 deletions(-) diff --git a/compat.h b/compat.h index 144e25a..9307976 100644 --- a/compat.h +++ b/compat.h @@ -39,9 +39,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) @@ -49,17 +46,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 */