summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJohannes Berg <johannes.berg@intel.com>2012-11-05 19:45:36 +0100
committerJohannes Berg <johannes.berg@intel.com>2012-11-07 11:20:31 +0100
commit6b450fcbff6a6d9e4f7ebe47e579ab4c43a6b745 (patch)
tree2e61a1341d46718ad3bffa5d6d0f977150586ebd
parent468b4bf38950b03ff2ce8316f836d2c33b17a321 (diff)
downloadlinux-6b450fcbff6a6d9e4f7ebe47e579ab4c43a6b745.tar.gz
linux-6b450fcbff6a6d9e4f7ebe47e579ab4c43a6b745.tar.bz2
linux-6b450fcbff6a6d9e4f7ebe47e579ab4c43a6b745.zip
iwlwifi: remove useless messages
There's no need to print the PCI resource length and base address, nor the hardware revision ID (which can be found in lspci) Reviewed-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com> Signed-off-by: Johannes Berg <johannes.berg@intel.com>
-rw-r--r--drivers/net/wireless/iwlwifi/pcie/trans.c9
1 files changed, 0 insertions, 9 deletions
diff --git a/drivers/net/wireless/iwlwifi/pcie/trans.c b/drivers/net/wireless/iwlwifi/pcie/trans.c
index 0703da892e59..74d4c792bc75 100644
--- a/drivers/net/wireless/iwlwifi/pcie/trans.c
+++ b/drivers/net/wireless/iwlwifi/pcie/trans.c
@@ -2176,15 +2176,6 @@ struct iwl_trans *iwl_trans_pcie_alloc(struct pci_dev *pdev,
goto out_pci_release_regions;
}
- dev_printk(KERN_INFO, &pdev->dev,
- "pci_resource_len = 0x%08llx\n",
- (unsigned long long) pci_resource_len(pdev, 0));
- dev_printk(KERN_INFO, &pdev->dev,
- "pci_resource_base = %p\n", trans_pcie->hw_base);
-
- dev_printk(KERN_INFO, &pdev->dev,
- "HW Revision ID = 0x%X\n", pdev->revision);
-
/* We disable the RETRY_TIMEOUT register (0x41) to keep
* PCI Tx retries from interfering with C3 CPU state */
pci_write_config_byte(pdev, PCI_CFG_RETRY_TIMEOUT, 0x00);