From patchwork Thu Nov 27 10:09:36 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Michal Kazior X-Patchwork-Id: 5394501 Return-Path: X-Original-To: patchwork-ath10k@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork1.web.kernel.org (Postfix) with ESMTP id A31839F39B for ; Thu, 27 Nov 2014 10:23:27 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 97E0D201E4 for ; Thu, 27 Nov 2014 10:23:26 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.9]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id D3796201C7 for ; Thu, 27 Nov 2014 10:23:25 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1XtwEH-0001pF-Me; Thu, 27 Nov 2014 10:23:17 +0000 Received: from mail-wi0-x233.google.com ([2a00:1450:400c:c05::233]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1XtwDo-0001QW-4v for ath10k@lists.infradead.org; Thu, 27 Nov 2014 10:22:50 +0000 Received: by mail-wi0-f179.google.com with SMTP id ex7so7806335wid.6 for ; Thu, 27 Nov 2014 02:22:24 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tieto.com; s=google; h=from:to:cc:subject:date:message-id; bh=v1Z9VRAIV611R7/rc8M2bZkky3pvAtmj/BW4D/qtNRg=; b=ho28obzUesoECQkU+VyU4JKToyi3Sio2QeKm1yJgT2ROXZGz1Zz+ZS1azNZocjmiYz T1T1DlLUhwWoIKyF98BJx5GX+w9OxLUSlHHTOIQ8bIB+ywEXSGMnnafoRr7FX37btZG2 lXakTsHFjNMB1D8Ru2MfLMPEaGm/hOVZ4s5Lw= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=v1Z9VRAIV611R7/rc8M2bZkky3pvAtmj/BW4D/qtNRg=; b=jDrM37GSpepzB65656rhesRNgKm4q4BRXkTJqsssH6ZNuTmCbEzB2Uy1T60gN681zr u+a55tCUSOKxpaklaluF0kqdfWNZTLyYL+gRw4hDyLiQWQNgfcj2ZbLofnbMbYls0yxx oqWJrRwWhUypcWmgm0XpbwWOHv0vIk36td1OBUMDe1YDerbgHzwh+t1mGP/uGTJ7M7F2 X5I2OEqAF266ka47SCTNqvnV9rs9iqbuTAoz9bq4dukpSZuyR/jHrsVsDrB47Ott6Qbb GQC5vaxKuVvNlwc8I1TxemD0a2WLapHq6TCv/HOZNeL3oLJ6C0r5my0rjUlx8LcIrEU9 /LXw== X-Gm-Message-State: ALoCoQnHPo/A+5qEj21WpXsyjthGECEn21FLLIuLlm41khxU1sXLv641hPFgVyxWNLdcSkUwNPzrAMSzPijat6u51Dh8TwPHCEsi4ZSiOLDcj9zgzxwB9gIw7gS2vSTcvhHmXqOANzadgXxf5X2wy2M26UctUP2SoI200+9PcLjGDsSG8akYVDM= X-Received: by 10.180.107.1 with SMTP id gy1mr49330602wib.8.1417083744034; Thu, 27 Nov 2014 02:22:24 -0800 (PST) Received: from localhost.localdomain ([91.198.246.8]) by mx.google.com with ESMTPSA id wx3sm10056383wjc.19.2014.11.27.02.22.23 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 27 Nov 2014 02:22:23 -0800 (PST) From: Michal Kazior To: ath10k@lists.infradead.org Subject: [PATCH 1/3] ath10k: remove unused callback argument Date: Thu, 27 Nov 2014 11:09:36 +0100 Message-Id: <1417082978-1701-1-git-send-email-michal.kazior@tieto.com> X-Mailer: git-send-email 1.8.5.3 X-DomainID: tieto.com X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20141127_022248_398381_7B0A98C7 X-CRM114-Status: GOOD ( 10.66 ) X-Spam-Score: -0.8 (/) Cc: linux-wireless@vger.kernel.org, Michal Kazior X-BeenThere: ath10k@lists.infradead.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: "ath10k" Errors-To: ath10k-bounces+patchwork-ath10k=patchwork.kernel.org@lists.infradead.org X-Spam-Status: No, score=-2.5 required=5.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_LOW, T_DKIM_INVALID, T_RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=ham version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP This wasn't used since forever and there are no plans on using it. Signed-off-by: Michal Kazior --- drivers/net/wireless/ath/ath10k/hif.h | 3 +-- drivers/net/wireless/ath/ath10k/htc.c | 3 +-- drivers/net/wireless/ath/ath10k/pci.c | 2 +- 3 files changed, 3 insertions(+), 5 deletions(-) diff --git a/drivers/net/wireless/ath/ath10k/hif.h b/drivers/net/wireless/ath/ath10k/hif.h index 6ac5523..91d24a5 100644 --- a/drivers/net/wireless/ath/ath10k/hif.h +++ b/drivers/net/wireless/ath/ath10k/hif.h @@ -35,8 +35,7 @@ struct ath10k_hif_cb { struct sk_buff *wbuf, unsigned transfer_id); int (*rx_completion)(struct ath10k *ar, - struct sk_buff *wbuf, - u8 pipe_id); + struct sk_buff *wbuf); }; struct ath10k_hif_ops { diff --git a/drivers/net/wireless/ath/ath10k/htc.c b/drivers/net/wireless/ath/ath10k/htc.c index 676bd4e..e245e34 100644 --- a/drivers/net/wireless/ath/ath10k/htc.c +++ b/drivers/net/wireless/ath/ath10k/htc.c @@ -317,8 +317,7 @@ static int ath10k_htc_process_trailer(struct ath10k_htc *htc, } static int ath10k_htc_rx_completion_handler(struct ath10k *ar, - struct sk_buff *skb, - u8 pipe_id) + struct sk_buff *skb) { int status = 0; struct ath10k_htc *htc = &ar->htc; diff --git a/drivers/net/wireless/ath/ath10k/pci.c b/drivers/net/wireless/ath/ath10k/pci.c index 0816098..541f3bc 100644 --- a/drivers/net/wireless/ath/ath10k/pci.c +++ b/drivers/net/wireless/ath/ath10k/pci.c @@ -875,7 +875,7 @@ static void ath10k_pci_ce_recv_data(struct ath10k_ce_pipe *ce_state) ath10k_dbg_dump(ar, ATH10K_DBG_PCI_DUMP, NULL, "pci rx: ", skb->data, skb->len); - cb->rx_completion(ar, skb, pipe_info->pipe_num); + cb->rx_completion(ar, skb); } ath10k_pci_rx_post_pipe(pipe_info);