Skip to content

Commit

Permalink
iwlagn: don't read the PCI_REVISION_ID from iwl-agn.c
Browse files Browse the repository at this point in the history
The PCI_REVISION_ID is read and printed in iwl_pci_probe anyway using pr_info

Signed-off-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
Signed-off-by: Wey-Yi Guy <wey-yi.w.guy@intel.com>
  • Loading branch information
Emmanuel Grumbach authored and Wey-Yi Guy committed Jun 18, 2011
1 parent 19707ba commit 85aed7c
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions drivers/net/wireless/iwlwifi/iwl-agn.c
Original file line number Diff line number Diff line change
Expand Up @@ -3352,10 +3352,6 @@ struct ieee80211_ops iwlagn_hw_ops = {

static u32 iwl_hw_detect(struct iwl_priv *priv)
{
u8 rev_id;

pci_read_config_byte(priv->pci_dev, PCI_REVISION_ID, &rev_id);
IWL_DEBUG_INFO(priv, "HW Revision ID = 0x%X\n", rev_id);
return iwl_read32(priv, CSR_HW_REV);
}

Expand Down

0 comments on commit 85aed7c

Please sign in to comment.