iwlwifi: removing unused priv->config
authorTomas Winkler <tomas.winkler@intel.com>
Sat, 1 Mar 2008 23:25:59 +0000 (01:25 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Thu, 6 Mar 2008 22:09:44 +0000 (17:09 -0500)
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>
drivers/net/wireless/iwlwifi/iwl-3945.h
drivers/net/wireless/iwlwifi/iwl-4965.h
drivers/net/wireless/iwlwifi/iwl3945-base.c
drivers/net/wireless/iwlwifi/iwl4965-base.c

index dde389d316376f4dcd02315563944a41fc264ea4..d36ae0045c57f513b4bf270b7a32a70e5088015f 100644 (file)
@@ -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 */
index ce17e4fec8384c187e6c0971aab785de5a985326..cc0745bfd1fb3129b034a83dc8c574fb9a988451 100644 (file)
@@ -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 */
index 0fab832ce8c29e658c1c0ef2b9bba03d58051b8f..139a4a24bc00eafdb88acf48a075bc3e833a4a98 100644 (file)
@@ -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 "
index 20d012d4f37e34660b09dcc0d9df666b07322417..99a9f820bfd1d81a7dbf6c6632f6a8d55b8bd6e9 100644 (file)
@@ -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));