diff options
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/char/agp/amd-k7-agp.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/drivers/char/agp/amd-k7-agp.c b/drivers/char/agp/amd-k7-agp.c index 1405a42585e1..87be46406daf 100644 --- a/drivers/char/agp/amd-k7-agp.c +++ b/drivers/char/agp/amd-k7-agp.c | |||
@@ -436,10 +436,6 @@ static int __devinit agp_amdk7_probe(struct pci_dev *pdev, | |||
436 | return -ENODEV; | 436 | return -ENODEV; |
437 | } | 437 | } |
438 | cap_ptr = pci_find_capability(gfxcard, PCI_CAP_ID_AGP); | 438 | cap_ptr = pci_find_capability(gfxcard, PCI_CAP_ID_AGP); |
439 | if (!cap_ptr) { | ||
440 | pci_dev_put(gfxcard); | ||
441 | continue; | ||
442 | } | ||
443 | } | 439 | } |
444 | 440 | ||
445 | /* With so many variants of NVidia cards, it's simpler just | 441 | /* With so many variants of NVidia cards, it's simpler just |