linux-wireless.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Luca Coelho <luca@coelho.fi>
To: kvalo@codeaurora.org
Cc: linux-wireless@vger.kernel.org
Subject: [PATCH 11/12] iwlwifi: pcie: make iwl_pcie_cmdq_reclaim static
Date: Thu, 26 Mar 2020 14:55:09 +0200	[thread overview]
Message-ID: <iwlwifi.20200326145047.de454f52fa20.I41d40008311b108d0578bd2ec73c5477e700a839@changeid> (raw)
In-Reply-To: <20200326125510.621842-1-luca@coelho.fi>

From: Johannes Berg <johannes.berg@intel.com>

There's no need for this to be exposed outside of the tx.c
file, make it static.

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
---
 drivers/net/wireless/intel/iwlwifi/pcie/internal.h | 1 -
 drivers/net/wireless/intel/iwlwifi/pcie/tx.c       | 2 +-
 2 files changed, 1 insertion(+), 2 deletions(-)

diff --git a/drivers/net/wireless/intel/iwlwifi/pcie/internal.h b/drivers/net/wireless/intel/iwlwifi/pcie/internal.h
index 72f144c3a46e..595e6873d56e 100644
--- a/drivers/net/wireless/intel/iwlwifi/pcie/internal.h
+++ b/drivers/net/wireless/intel/iwlwifi/pcie/internal.h
@@ -718,7 +718,6 @@ int iwl_trans_pcie_tx(struct iwl_trans *trans, struct sk_buff *skb,
 		      struct iwl_device_tx_cmd *dev_cmd, int txq_id);
 void iwl_pcie_txq_check_wrptrs(struct iwl_trans *trans);
 int iwl_trans_pcie_send_hcmd(struct iwl_trans *trans, struct iwl_host_cmd *cmd);
-void iwl_pcie_cmdq_reclaim(struct iwl_trans *trans, int txq_id, int idx);
 void iwl_pcie_gen2_txq_inc_wr_ptr(struct iwl_trans *trans,
 				  struct iwl_txq *txq);
 void iwl_pcie_hcmd_complete(struct iwl_trans *trans,
diff --git a/drivers/net/wireless/intel/iwlwifi/pcie/tx.c b/drivers/net/wireless/intel/iwlwifi/pcie/tx.c
index 2f69a6469fe7..4582d418ba4d 100644
--- a/drivers/net/wireless/intel/iwlwifi/pcie/tx.c
+++ b/drivers/net/wireless/intel/iwlwifi/pcie/tx.c
@@ -1287,7 +1287,7 @@ static int iwl_pcie_set_cmd_in_flight(struct iwl_trans *trans,
  * need to be reclaimed. As result, some free space forms.  If there is
  * enough free space (> low mark), wake the stack that feeds us.
  */
-void iwl_pcie_cmdq_reclaim(struct iwl_trans *trans, int txq_id, int idx)
+static void iwl_pcie_cmdq_reclaim(struct iwl_trans *trans, int txq_id, int idx)
 {
 	struct iwl_trans_pcie *trans_pcie = IWL_TRANS_GET_PCIE_TRANS(trans);
 	struct iwl_txq *txq = trans_pcie->txq[txq_id];
-- 
2.25.1


  parent reply	other threads:[~2020-03-26 12:55 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-03-26 12:54 [PATCH 00/12] iwlwifi: updates intended for v5.7 2020-03-27 Luca Coelho
2020-03-26 12:54 ` [PATCH 01/12] iwlwifi: mvm: add support for non EDCA based measurements Luca Coelho
2020-03-26 12:55 ` [PATCH 02/12] iwlwifi: add support for version 2 of SOC_CONFIGURATION_CMD Luca Coelho
2020-03-26 12:55 ` [PATCH 03/12] iwlwifi: add trans_cfg for devices with long latency Luca Coelho
2020-03-26 12:55 ` [PATCH 04/12] iwlwifi: remove support for QnJ Hr STEP A Luca Coelho
2020-03-26 12:55 ` [PATCH 05/12] iwlwifi: remove support for QnJ HR FPGA Luca Coelho
2020-03-26 12:55 ` [PATCH 06/12] iwlwifi: yoyo: don't block dumping internal memory when not in SRAM mode Luca Coelho
2020-03-26 12:55 ` [PATCH 07/12] iwlwifi: scan: support FW APIs with variable number of profiles Luca Coelho
2020-03-26 12:55 ` [PATCH 08/12] iwlwifi: yoyo: enable yoyo by default Luca Coelho
2020-03-26 12:55 ` [PATCH 09/12] iwlwifi: remove IWL_FW_DBG_DOMAIN macro Luca Coelho
2020-03-26 12:55 ` [PATCH 10/12] iwlwifi: bump FW API to 53 for 22000 series Luca Coelho
2020-03-26 12:55 ` Luca Coelho [this message]
2020-03-26 12:55 ` [PATCH 12/12] iwlwifi: mvm: remove newline from rs_pretty_print_rate() Luca Coelho

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=iwlwifi.20200326145047.de454f52fa20.I41d40008311b108d0578bd2ec73c5477e700a839@changeid \
    --to=luca@coelho.fi \
    --cc=kvalo@codeaurora.org \
    --cc=linux-wireless@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).