Skip to content

Commit

Permalink
iwlwifi: removing unused priv->config
Browse files Browse the repository at this point in the history
This patch removes unused variable in iwlYYYY_priv

Signed-off-by: Tomas Winkler <tomas.winkler@intel.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
  • Loading branch information
Tomas Winkler authored and John W. Linville committed Mar 6, 2008
1 parent aab547c commit 2acae16
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 6 deletions.
1 change: 0 additions & 1 deletion drivers/net/wireless/iwlwifi/iwl-3945.h
Original file line number Diff line number Diff line change
Expand Up @@ -800,7 +800,6 @@ struct iwl3945_priv {
struct iwl3945_tx_queue txq[IWL_MAX_NUM_QUEUES];

unsigned long status;
u32 config;

int last_rx_rssi; /* From Rx packet statisitics */
int last_rx_noise; /* From beacon statistics */
Expand Down
1 change: 0 additions & 1 deletion drivers/net/wireless/iwlwifi/iwl-4965.h
Original file line number Diff line number Diff line change
Expand Up @@ -1104,7 +1104,6 @@ struct iwl4965_priv {
u32 scd_base_addr; /* scheduler sram base address */

unsigned long status;
u32 config;

int last_rx_rssi; /* From Rx packet statisitics */
int last_rx_noise; /* From beacon statistics */
Expand Down
3 changes: 1 addition & 2 deletions drivers/net/wireless/iwlwifi/iwl3945-base.c
Original file line number Diff line number Diff line change
Expand Up @@ -4506,8 +4506,7 @@ static void iwl3945_dump_nic_error_log(struct iwl3945_priv *priv)

if (ERROR_START_OFFSET <= count * ERROR_ELEM_SIZE) {
IWL_ERROR("Start IWL Error Log Dump:\n");
IWL_ERROR("Status: 0x%08lX, Config: %08X count: %d\n",
priv->status, priv->config, count);
IWL_ERROR("Status: 0x%08lX, count: %d\n", priv->status, count);
}

IWL_ERROR("Desc Time asrtPC blink2 "
Expand Down
3 changes: 1 addition & 2 deletions drivers/net/wireless/iwlwifi/iwl4965-base.c
Original file line number Diff line number Diff line change
Expand Up @@ -4886,8 +4886,7 @@ static void iwl4965_dump_nic_error_log(struct iwl4965_priv *priv)

if (ERROR_START_OFFSET <= count * ERROR_ELEM_SIZE) {
IWL_ERROR("Start IWL Error Log Dump:\n");
IWL_ERROR("Status: 0x%08lX, Config: %08X count: %d\n",
priv->status, priv->config, count);
IWL_ERROR("Status: 0x%08lX, count: %d\n", priv->status, count);
}

desc = iwl4965_read_targ_mem(priv, base + 1 * sizeof(u32));
Expand Down

0 comments on commit 2acae16

Please sign in to comment.