[prev in list] [next in list] [prev in thread] [next in thread]
List: linux-edac
Subject: [PATCH] drivers/edac/i82875p_edac.c: eliminate double definition
From: Julia Lawall <Julia.Lawall () lip6 ! fr>
Date: 2012-04-30 5:46:52
Message-ID: 1335764812-29927-1-git-send-email-Julia.Lawall () lip6 ! fr
[Download RAW message or body]
From: Julia Lawall <Julia.Lawall@lip6.fr>
The first thing that i82875p_setup_overfl_dev does is overwrite the value
of ovrfl_pdev and perform the same call to pci_get_device as is done here.
Signed-off-by: Julia Lawall <Julia.Lawall@lip6.fr>
---
drivers/edac/i82875p_edac.c | 2 --
1 file changed, 2 deletions(-)
diff --git a/drivers/edac/i82875p_edac.c b/drivers/edac/i82875p_edac.c
index 10f15d8..22ecc54 100644
--- a/drivers/edac/i82875p_edac.c
+++ b/drivers/edac/i82875p_edac.c
@@ -391,8 +391,6 @@ static int i82875p_probe1(struct pci_dev *pdev, int dev_idx)
debugf0("%s()\n", __func__);
- ovrfl_pdev = pci_get_device(PCI_VEND_DEV(INTEL, 82875_6), NULL);
-
if (i82875p_setup_overfl_dev(pdev, &ovrfl_pdev, &ovrfl_window))
return -ENODEV;
drc = readl(ovrfl_window + I82875P_DRC);
--
To unsubscribe from this list: send the line "unsubscribe linux-edac" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic