From patchwork Mon Oct 12 21:19:11 2009 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Hauke Mehrtens X-Patchwork-Id: 53209 Received: from vger.kernel.org (vger.kernel.org [209.132.176.167]) by demeter.kernel.org (8.14.2/8.14.2) with ESMTP id n9CLU8JW025169 for ; Mon, 12 Oct 2009 21:30:09 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1758268AbZJLVUH (ORCPT ); Mon, 12 Oct 2009 17:20:07 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1758260AbZJLVUH (ORCPT ); Mon, 12 Oct 2009 17:20:07 -0400 Received: from server19320154104.serverpool.info ([193.201.54.104]:56596 "EHLO hauke-m.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1758068AbZJLVUE (ORCPT ); Mon, 12 Oct 2009 17:20:04 -0400 Received: from localhost (localhost [127.0.0.1]) by hauke-m.de (Postfix) with ESMTP id 33E0F81EE; Mon, 12 Oct 2009 23:19:28 +0200 (CEST) Received: from hauke-m.de ([127.0.0.1]) by localhost (hauke-m.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id XJkx+ufls83E; Mon, 12 Oct 2009 23:19:24 +0200 (CEST) Received: from localhost.localdomain (dyndsl-085-016-164-212.ewe-ip-backbone.de [85.16.164.212]) by hauke-m.de (Postfix) with ESMTPSA id EE54B820C; Mon, 12 Oct 2009 23:19:20 +0200 (CEST) From: Hauke Mehrtens To: lrodriguez@atheros.com Cc: linux-wireless@vger.kernel.org, Hauke Mehrtens Subject: [PATCH 2/9] [compat-2.6 and compat-stable] Remove unused code Date: Mon, 12 Oct 2009 23:19:11 +0200 Message-Id: <1255382358-20760-4-git-send-email-hauke@hauke-m.de> X-Mailer: git-send-email 1.6.2.1 In-Reply-To: <1255382358-20760-1-git-send-email-hauke@hauke-m.de> References: <1255382358-20760-1-git-send-email-hauke@hauke-m.de> Sender: linux-wireless-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org diff --git a/compat/compat-2.6.28.h b/compat/compat-2.6.28.h index 90d080c..dd223c6 100644 --- a/compat/compat-2.6.28.h +++ b/compat/compat-2.6.28.h @@ -146,22 +146,6 @@ static inline void skb_queue_splice_tail_init(struct sk_buff_head *list, } } /* From include/linux/skbuff.h */ -struct module; -struct tracepoint; - -#if (LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,28)) -struct tracepoint { - const char *name; /* Tracepoint name */ - int state; /* State. */ - void **funcs; -} __attribute__((aligned(32))); /* - * Aligned on 32 bytes because it is - * globally visible and gcc happily - * align these on the structure size. - * Keep in sync with vmlinux.lds.h. - */ -#endif - #ifndef DECLARE_TRACE #define TP_PROTO(args...) args @@ -181,17 +165,9 @@ struct tracepoint { return -ENOSYS; \ } -#if (LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,28)) -#define DEFINE_TRACE(name) -#endif #define EXPORT_TRACEPOINT_SYMBOL_GPL(name) #define EXPORT_TRACEPOINT_SYMBOL(name) -#if (LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,28)) -static inline void tracepoint_update_probe_range(struct tracepoint *begin, - struct tracepoint *end) -{ } -#endif #endif