diff options
Diffstat (limited to 'drivers/edac')
-rw-r--r-- | drivers/edac/i82875p_edac.c | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/drivers/edac/i82875p_edac.c b/drivers/edac/i82875p_edac.c index f2b9ac9ed9f3..64b68320249f 100644 --- a/drivers/edac/i82875p_edac.c +++ b/drivers/edac/i82875p_edac.c | |||
@@ -275,7 +275,6 @@ static int i82875p_setup_overfl_dev(struct pci_dev *pdev, | |||
275 | { | 275 | { |
276 | struct pci_dev *dev; | 276 | struct pci_dev *dev; |
277 | void __iomem *window; | 277 | void __iomem *window; |
278 | int err; | ||
279 | 278 | ||
280 | *ovrfl_pdev = NULL; | 279 | *ovrfl_pdev = NULL; |
281 | *ovrfl_window = NULL; | 280 | *ovrfl_window = NULL; |
@@ -294,13 +293,7 @@ static int i82875p_setup_overfl_dev(struct pci_dev *pdev, | |||
294 | return 1; | 293 | return 1; |
295 | 294 | ||
296 | pci_bus_assign_resources(dev->bus); | 295 | pci_bus_assign_resources(dev->bus); |
297 | 296 | pci_bus_add_device(dev); | |
298 | err = pci_bus_add_device(dev); | ||
299 | if (err) { | ||
300 | i82875p_printk(KERN_ERR, | ||
301 | "%s(): pci_bus_add_device() Failed\n", | ||
302 | __func__); | ||
303 | } | ||
304 | } | 297 | } |
305 | 298 | ||
306 | *ovrfl_pdev = dev; | 299 | *ovrfl_pdev = dev; |