projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
19707ba
)
iwlagn: don't read the PCI_REVISION_ID from iwl-agn.c
author
Emmanuel Grumbach
<
[email protected]
>
Tue, 31 May 2011 06:58:18 +0000
(09:58 +0300)
committer
Wey-Yi Guy
<
[email protected]
>
Sat, 18 Jun 2011 15:18:01 +0000
(08:18 -0700)
The PCI_REVISION_ID is read and printed in iwl_pci_probe anyway using pr_info
Signed-off-by: Emmanuel Grumbach <
[email protected]
>
Signed-off-by: Wey-Yi Guy <
[email protected]
>
drivers/net/wireless/iwlwifi/iwl-agn.c
patch
|
blob
|
history
diff --git
a/drivers/net/wireless/iwlwifi/iwl-agn.c
b/drivers/net/wireless/iwlwifi/iwl-agn.c
index eeb31bcfc741b4d95b9a9548baa420fca0deaa61..1ff8e4b3e960d29d2531f89b7203e49863d0c578 100644
(file)
--- a/
drivers/net/wireless/iwlwifi/iwl-agn.c
+++ b/
drivers/net/wireless/iwlwifi/iwl-agn.c
@@
-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);
}