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: 9313965 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 1AE5D60760 for ; Mon, 5 Sep 2016 13:39:59 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 0ADD02711E for ; Mon, 5 Sep 2016 13:39:59 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id F2D7528AAA; Mon, 5 Sep 2016 13:39:58 +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=-7.0 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, FREEMAIL_FROM, RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id E8CCF2711E for ; Mon, 5 Sep 2016 13:39:57 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932651AbcIENjr (ORCPT ); Mon, 5 Sep 2016 09:39:47 -0400 Received: from mail-pa0-f65.google.com ([209.85.220.65]:36522 "EHLO mail-pa0-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932541AbcIENjp (ORCPT ); Mon, 5 Sep 2016 09:39:45 -0400 Received: by mail-pa0-f65.google.com with SMTP id ez1so9414707pab.3; 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=dwUaYpYnFiJyCE2IrQ1BDd/doNSbc/o98cPMkktt05XVMQafPgdwVjZOLV4pzPzoKN 65QaSU7uJ9L/IIRpUVbw5Exb/sdSwybapirjl05mUo9qH2Yj9ZLpnS1gkVXMNfWP4x0j kk19B9LjGzLeSEEJpM/Yz5YWm9tH9DFLydThNndKcc2Z7Aln2bYETKoAnKdpkauqirxB Hm5cwzgqk12/Odhp+BW6Dy6IFVGZQyRkhZeMcVHQnRDaRY7vbI/0m5O0t1sE8Mlafveo fxmAEL6RFbaFYgvlQJu9VNuHAfL24a4sOEC5ijo2LRIWiybxx4QE92U/fQad0bvvv8mA ayPQ== X-Gm-Message-State: AE9vXwOldJj1zzvE4BU6yxeWAnGIXLWt14V/0Y7MACLcKiXYQN9ylrHEl7ax+k3jVbcz2A== 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 Cc: ath10k@lists.infradead.org, linux-wireless@vger.kernel.org, netdev@vger.kernel.org, Chaehyun Lim 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 Sender: linux-wireless-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.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;