diff options
author | Jean Delvare <[email protected]> | 2014-01-30 09:11:01 +0100 |
---|---|---|
committer | Borislav Petkov <[email protected]> | 2014-02-03 19:03:35 +0100 |
commit | 2edbf569971013a5ea424c43fbfab1951ab383d7 (patch) | |
tree | 092777434726c0b9e8e1b14e826bb5de9b3bce18 | |
parent | 38dbfb59d1175ef458d006556061adeaa8751b72 (diff) |
e752x_edac: Simplify call to pci_get_device()
The last parameter, pvt->bridge_ck, is always NULL as far as I can
see, so just use that.
Signed-off-by: Jean Delvare <[email protected]>
Acked-by: Aristeu Rozanski <[email protected]>
Link: http://lkml.kernel.org/r/[email protected]
Cc: Mark Gross <[email protected]>
Cc: Doug Thompson <[email protected]>
Signed-off-by: Borislav Petkov <[email protected]>
-rw-r--r-- | drivers/edac/e752x_edac.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/edac/e752x_edac.c b/drivers/edac/e752x_edac.c index 92d54fa65f93..725bc397458e 100644 --- a/drivers/edac/e752x_edac.c +++ b/drivers/edac/e752x_edac.c @@ -1180,7 +1180,7 @@ static int e752x_get_devs(struct pci_dev *pdev, int dev_idx, struct pci_dev *dev; pvt->bridge_ck = pci_get_device(PCI_VENDOR_ID_INTEL, - pvt->dev_info->err_dev, pvt->bridge_ck); + pvt->dev_info->err_dev, NULL); if (pvt->bridge_ck == NULL) { pvt->bridge_ck = pci_scan_single_device(pdev->bus, |