summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDaniel Halperin <dhalperi@cs.washington.edu>2011-05-16 21:46:28 -0700
committerJohn W. Linville <linville@tuxdriver.com>2011-05-19 13:53:58 -0400
commit20ba2861b09ae942398eda6d2dc0bf1019a97ddb (patch)
tree19218b9dac5de17a7025be24ec8e80eaead1d432
parent62a5b7dcee00c8e64e61ed98541c95fd38583116 (diff)
downloadtalos-obmc-linux-20ba2861b09ae942398eda6d2dc0bf1019a97ddb.tar.gz
talos-obmc-linux-20ba2861b09ae942398eda6d2dc0bf1019a97ddb.zip
iwlwifi: remove unused parameter from iwl_hcmd_queue_reclaim
cmd_index is never used. Signed-off-by: Daniel Halperin <dhalperi@cs.washington.edu> Signed-off-by: John W. Linville <linville@tuxdriver.com>
-rw-r--r--drivers/net/wireless/iwlwifi/iwl-tx.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/drivers/net/wireless/iwlwifi/iwl-tx.c b/drivers/net/wireless/iwlwifi/iwl-tx.c
index 54a935ff38fa..686e176b5ebd 100644
--- a/drivers/net/wireless/iwlwifi/iwl-tx.c
+++ b/drivers/net/wireless/iwlwifi/iwl-tx.c
@@ -746,8 +746,7 @@ int iwl_enqueue_hcmd(struct iwl_priv *priv, struct iwl_host_cmd *cmd)
* need to be reclaimed. As result, some free space forms. If there is
* enough free space (> low mark), wake the stack that feeds us.
*/
-static void iwl_hcmd_queue_reclaim(struct iwl_priv *priv, int txq_id,
- int idx, int cmd_idx)
+static void iwl_hcmd_queue_reclaim(struct iwl_priv *priv, int txq_id, int idx)
{
struct iwl_tx_queue *txq = &priv->txq[txq_id];
struct iwl_queue *q = &txq->q;
@@ -819,7 +818,7 @@ void iwl_tx_cmd_complete(struct iwl_priv *priv, struct iwl_rx_mem_buffer *rxb)
spin_lock_irqsave(&priv->hcmd_lock, flags);
- iwl_hcmd_queue_reclaim(priv, txq_id, index, cmd_index);
+ iwl_hcmd_queue_reclaim(priv, txq_id, index);
if (!(meta->flags & CMD_ASYNC)) {
clear_bit(STATUS_HCMD_ACTIVE, &priv->status);
OpenPOWER on IntegriCloud