From patchwork Mon Sep 5 13:38:02 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Chaehyun Lim X-Patchwork-Id: 9313963 X-Patchwork-Delegate: kvalo@adurom.com Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id B9C2160760 for ; Mon, 5 Sep 2016 13:39:35 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id AA41928AAC for ; Mon, 5 Sep 2016 13:39:35 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 9EC1B28AB1; Mon, 5 Sep 2016 13:39:35 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-4.1 required=2.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_DNSWL_MED, T_DKIM_INVALID autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.9]) (using TLSv1.2 with cipher AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 2A36928AAC for ; Mon, 5 Sep 2016 13:39:35 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.85_2 #1 (Red Hat Linux)) id 1bgu7M-00033s-1F; Mon, 05 Sep 2016 13:39:20 +0000 Received: from mail-pa0-x243.google.com ([2607:f8b0:400e:c03::243]) by bombadil.infradead.org with esmtps (Exim 4.85_2 #1 (Red Hat Linux)) id 1bgu7I-0002vh-Da for ath10k@lists.infradead.org; Mon, 05 Sep 2016 13:39:17 +0000 Received: by mail-pa0-x243.google.com with SMTP id hm5so4912082pac.1 for ; Mon, 05 Sep 2016 06:38:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id; bh=HfaaaBUqyOOj6VPj0Cl+GYiwW/TUUJKHZSVNN9nRvqA=; b=roZpPF/Ye8H4HnEghCUumyh7URc4eCTKVF03xz+W+iu85vcMkQjQu+mW3FKXSWsnUa UAPJFBGF9dJomNnHfvOTh+xSeMkZx57TfxObt5fZnqpK0mf5jJAtQ6OIt84H1Cf/+f4y DKOv1VxQkOmYHsEjmSyKe0bwk0foAvLFULHkzaEY/+P9jCkk4ykSCRQUtRIKamEtDA5q aJyWJ0YIV3FHXRRXfF07WL2EZ1siy4gK0/tN7f9QORqjgj3z6Ws03Jgq17TgoMg3ce6d ukbrGK1pNZm9f9uomyL+znd4smINneLDB2QX57se3FIuqIYBRQqRj61OiUTRKAjljAd0 lxVw== 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=HfaaaBUqyOOj6VPj0Cl+GYiwW/TUUJKHZSVNN9nRvqA=; b=AznjHwssULKRJT5tLx9KZfhR7iOFb0fK+JrsSbxez6vlu4sRIB+Dhwi1j11zKWS56e njp+ZFPHMgXQVRvDNTsCJ/RVKu5HRVLq6RVTd9LVJpaxZ//NDA8J/AaEr47Hc2lYGA+z eAyBLLTk5VLwktdZD/SeGFDn3jN+rtkMwW9gHGGK7HSPDjdv1cq4uwFE5bMVZQff0inJ nUoLWhhzGvz8YTGIbPJU5DdfbvYp5NNAEe5Rf6SMPzjCizjIHfBxtmy0WW0vhT5L1tts OEMCSLiT10duhIJdrneDlwuhtYLwBSFvxTOiXCJTcRWii4riR6qjTA7Sa9hdGptYk6e+ 3FAA== X-Gm-Message-State: AE9vXwOPoKa3qfYpkisCO27mujFFJ3vYegR6dgXB2Mxt/X5zNNlxjhbSL+xCn4+YT/5dJg== X-Received: by 10.66.14.161 with SMTP id q1mr64018665pac.103.1473082735396; Mon, 05 Sep 2016 06:38:55 -0700 (PDT) Received: from localhost.localdomain ([218.233.16.2]) by smtp.gmail.com with ESMTPSA id y200sm33888429pfb.13.2016.09.05.06.38.52 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 05 Sep 2016 06:38:54 -0700 (PDT) From: Chaehyun Lim To: kvalo@qca.qualcomm.com Subject: [PATCH] ath10k: remove unused variable ar_pci Date: Mon, 5 Sep 2016 22:38:02 +0900 Message-Id: <20160905133802.18755-1-chaehyun.lim@gmail.com> X-Mailer: git-send-email 2.9.2 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20160905_063916_569956_BDDC1C0A X-CRM114-Status: UNSURE ( 7.76 ) X-CRM114-Notice: Please train this message. X-BeenThere: ath10k@lists.infradead.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: netdev@vger.kernel.org, linux-wireless@vger.kernel.org, Chaehyun Lim , ath10k@lists.infradead.org MIME-Version: 1.0 Sender: "ath10k" Errors-To: ath10k-bounces+patchwork-ath10k=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP Trival fix to remove unused variable ar_pci in ath10k_pci_tx_pipe_cleanup when building with W=1: drivers/net/wireless/ath/ath10k/pci.c:1696:21: warning: variable 'ar_pci' set but not used [-Wunused-but-set-variable] Signed-off-by: Chaehyun Lim --- drivers/net/wireless/ath/ath10k/pci.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/drivers/net/wireless/ath/ath10k/pci.c b/drivers/net/wireless/ath/ath10k/pci.c index 1b841ad..afd5ef7 100644 --- a/drivers/net/wireless/ath/ath10k/pci.c +++ b/drivers/net/wireless/ath/ath10k/pci.c @@ -1693,14 +1693,12 @@ static void ath10k_pci_rx_pipe_cleanup(struct ath10k_pci_pipe *pci_pipe) static void ath10k_pci_tx_pipe_cleanup(struct ath10k_pci_pipe *pci_pipe) { struct ath10k *ar; - struct ath10k_pci *ar_pci; struct ath10k_ce_pipe *ce_pipe; struct ath10k_ce_ring *ce_ring; struct sk_buff *skb; int i; ar = pci_pipe->hif_ce_state; - ar_pci = ath10k_pci_priv(ar); ce_pipe = pci_pipe->ce_hdl; ce_ring = ce_pipe->src_ring;