From patchwork Wed Apr 20 05:31:25 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sujith Manoharan X-Patchwork-Id: 720611 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by demeter1.kernel.org (8.14.4/8.14.3) with ESMTP id p3K5St0A032111 for ; Wed, 20 Apr 2011 05:28:55 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752135Ab1DTF2y (ORCPT ); Wed, 20 Apr 2011 01:28:54 -0400 Received: from mail-px0-f179.google.com ([209.85.212.179]:33573 "EHLO mail-px0-f179.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751617Ab1DTF2y (ORCPT ); Wed, 20 Apr 2011 01:28:54 -0400 Received: by mail-px0-f179.google.com with SMTP id 2so318654pxi.10 for ; Tue, 19 Apr 2011 22:28:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:from:mime-version:content-type :content-transfer-encoding:message-id:date:to:x-mailer:cc:subject; bh=ktvNgsTwQP6hxG89j+gqgHUTwg6cObWE/deXNpRx1e4=; b=i7pJ58eafCR0lIR8wxYN74dC2aFaZxzMIMG4rktypGWBJ3ZpNr78niZ4Ruep/yb4EF b7DgSkTczEzWR37ySxbs7MwejBa3Oa7u+nkbPY3WsdfErCDnKICTo0Ty6tf/QR/nF0Nj HxKtqBm9l9TtHkf2hIBquiCaGHtiRUb5KLesI= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:mime-version:content-type:content-transfer-encoding:message-id :date:to:x-mailer:cc:subject; b=ES5ztYPG7gpUAuRlvjvrgam0xgNVlMDr7SQZoeki8q/8GaI8u1HOkMY/sFUlPzi4S4 IRU03VJ4JuJTjdkpS7D1mIBYaBPI7wQxkC+SEBDAqPy4d2QPriaRbxjHn8DS/XHtKRR0 h3Red+4c1AUo/gJ3A5MWZ2L63oYHg4DAY1t/E= Received: by 10.68.37.72 with SMTP id w8mr9669745pbj.263.1303277333826; Tue, 19 Apr 2011 22:28:53 -0700 (PDT) Received: from atheros-test ([182.72.177.186]) by mx.google.com with ESMTPS id h1sm402529pbe.69.2011.04.19.22.28.50 (version=TLSv1/SSLv3 cipher=OTHER); Tue, 19 Apr 2011 22:28:53 -0700 (PDT) From: Sujith MIME-Version: 1.0 Message-ID: <19886.28589.429644.634493@gargle.gargle.HOWL> Date: Wed, 20 Apr 2011 11:01:25 +0530 To: linville@tuxdriver.com X-Mailer: VM 8.1.1 under 23.3.1 (x86_64-unknown-linux-gnu) CC: linux-wireless@vger.kernel.org, ath9k-devel@venema.h4ckr.net Subject: [PATCH 5/5] ath9k_htc: Remove unused macros and structures Sender: linux-wireless-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org X-Greylist: IP, sender and recipient auto-whitelisted, not delayed by milter-greylist-4.2.6 (demeter1.kernel.org [140.211.167.41]); Wed, 20 Apr 2011 05:28:56 +0000 (UTC) From: Sujith Manoharan Signed-off-by: Sujith Manoharan --- drivers/net/wireless/ath/ath9k/htc.h | 3 --- drivers/net/wireless/ath/ath9k/htc_hst.h | 11 ----------- 2 files changed, 0 insertions(+), 14 deletions(-) diff --git a/drivers/net/wireless/ath/ath9k/htc.h b/drivers/net/wireless/ath/ath9k/htc.h index af90829..55f4bb3 100644 --- a/drivers/net/wireless/ath/ath9k/htc.h +++ b/drivers/net/wireless/ath/ath9k/htc.h @@ -66,8 +66,6 @@ enum htc_opmode { HTC_M_WDS = 2 }; -#define ATH9K_HTC_HDRSPACE sizeof(struct htc_frame_hdr) - #define ATH9K_HTC_AMPDU 1 #define ATH9K_HTC_NORMAL 2 #define ATH9K_HTC_BEACON 3 @@ -75,7 +73,6 @@ enum htc_opmode { #define ATH9K_HTC_TX_CTSONLY 0x1 #define ATH9K_HTC_TX_RTSCTS 0x2 -#define ATH9K_HTC_TX_USE_MIN_RATE 0x100 struct tx_frame_hdr { u8 data_type; diff --git a/drivers/net/wireless/ath/ath9k/htc_hst.h b/drivers/net/wireless/ath/ath9k/htc_hst.h index cb9174a..91a5305 100644 --- a/drivers/net/wireless/ath/ath9k/htc_hst.h +++ b/drivers/net/wireless/ath/ath9k/htc_hst.h @@ -83,21 +83,10 @@ struct htc_ep_callbacks { void (*rx) (void *, struct sk_buff *, enum htc_endpoint_id); }; -#define HTC_TX_QUEUE_SIZE 256 - -struct htc_txq { - struct sk_buff *buf[HTC_TX_QUEUE_SIZE]; - u32 txqdepth; - u16 txbuf_cnt; - u16 txq_head; - u16 txq_tail; -}; - struct htc_endpoint { u16 service_id; struct htc_ep_callbacks ep_callbacks; - struct htc_txq htc_txq; u32 max_txqdepth; int max_msglen;