diff options
Diffstat (limited to 'drivers/net/tg3.c')
-rw-r--r-- | drivers/net/tg3.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/drivers/net/tg3.c b/drivers/net/tg3.c index 3245f16baabc..32e4037dcb50 100644 --- a/drivers/net/tg3.c +++ b/drivers/net/tg3.c | |||
@@ -10551,11 +10551,7 @@ static int __devinit tg3_get_invariants(struct tg3 *tp) | |||
10551 | continue; | 10551 | continue; |
10552 | } | 10552 | } |
10553 | if (pci_id->rev != PCI_ANY_ID) { | 10553 | if (pci_id->rev != PCI_ANY_ID) { |
10554 | u8 rev; | 10554 | if (bridge->revision > pci_id->rev) |
10555 | |||
10556 | pci_read_config_byte(bridge, PCI_REVISION_ID, | ||
10557 | &rev); | ||
10558 | if (rev > pci_id->rev) | ||
10559 | continue; | 10555 | continue; |
10560 | } | 10556 | } |
10561 | if (bridge->subordinate && | 10557 | if (bridge->subordinate && |