From patchwork Wed Dec 1 07:00:09 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sujith Manoharan X-Patchwork-Id: 369741 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 oB170Xuc017304 for ; Wed, 1 Dec 2010 07:00:33 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751516Ab0LAHAb (ORCPT ); Wed, 1 Dec 2010 02:00:31 -0500 Received: from mail-yw0-f46.google.com ([209.85.213.46]:47163 "EHLO mail-yw0-f46.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751233Ab0LAHAa (ORCPT ); Wed, 1 Dec 2010 02:00:30 -0500 Received: by ywl5 with SMTP id 5so3214962ywl.19 for ; Tue, 30 Nov 2010 23:00:30 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:from:mime-version :content-type:content-transfer-encoding:message-id:date:to:x-mailer :cc:subject; bh=vBJH1SpziCT7Afpq3y2i/0P427q75SGbDDtzQNoDbyo=; b=ZU8KN2dCfa+4i0Uv2q6hsqKRteKzy+ZYCEbNaQO3p0gZYxosAhfEFN4YAEbnS28FL4 kARYLEO6XOLnPB/leNoJZ3+kR1gAwWBHPA0GDhTlBDwTSNSg+kdHmyfw+jVZvpfGRSte +f8lhnMeTNXCvB36DxHd5fHwGzc8ir73i8paQ= 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=Op+nhxg0++vLVBq1IJt6wn7KhPIhI67if5C3LlQKilizVTTNt1A8sHb9Am4kV8DA4B 71G9nc8dQiBezbfGZzFpyc2fk3IGEb39S8zFB0sByI/vax2Z2B2jkGbWTNPs8o2HiIIu AgCECbdQOLMyrhA1Gz6uZvY9YnvyYOdjeA16E= Received: by 10.151.105.11 with SMTP id h11mr414169ybm.307.1291186829862; Tue, 30 Nov 2010 23:00:29 -0800 (PST) Received: from bodhi ([117.197.200.250]) by mx.google.com with ESMTPS id f4sm4560172yhc.3.2010.11.30.23.00.26 (version=TLSv1/SSLv3 cipher=RC4-MD5); Tue, 30 Nov 2010 23:00:29 -0800 (PST) From: Sujith MIME-Version: 1.0 Message-ID: <19701.62073.158585.669243@gargle.gargle.HOWL> Date: Wed, 1 Dec 2010 12:30:09 +0530 To: linville@tuxdriver.com X-Mailer: VM 8.1.1 under 23.2.1 (x86_64-unknown-linux-gnu) CC: linux-wireless@vger.kernel.org Subject: [PATCH 1/2] ath9k_htc: Remove unused 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.3 (demeter1.kernel.org [140.211.167.41]); Wed, 01 Dec 2010 07:00:33 +0000 (UTC) diff --git a/drivers/net/wireless/ath/ath9k/htc_hst.h b/drivers/net/wireless/ath/ath9k/htc_hst.h index 6fc1b21..ecd0187 100644 --- a/drivers/net/wireless/ath/ath9k/htc_hst.h +++ b/drivers/net/wireless/ath/ath9k/htc_hst.h @@ -77,20 +77,6 @@ struct htc_config_pipe_msg { u8 credits; } __packed; -struct htc_packet { - void *pktcontext; - u8 *buf; - u8 *buf_payload; - u32 buflen; - u32 payload_len; - - int endpoint; - int status; - - void *context; - u32 reserved; -}; - struct htc_ep_callbacks { void *priv; void (*tx) (void *, struct sk_buff *, enum htc_endpoint_id, bool txok); @@ -123,11 +109,6 @@ struct htc_endpoint { #define HTC_CONTROL_BUFFER_SIZE \ (HTC_MAX_CONTROL_MESSAGE_LENGTH + sizeof(struct htc_frame_hdr)) -struct htc_control_buf { - struct htc_packet htc_pkt; - u8 buf[HTC_CONTROL_BUFFER_SIZE]; -}; - #define HTC_OP_START_WAIT BIT(0) #define HTC_OP_CONFIG_PIPE_CREDITS BIT(1)