[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <1379949809-11083-4-git-send-email-johannes.thumshirn@men.de>
Date: Mon, 23 Sep 2013 17:23:29 +0200
From: Johannes Thumshirn <johannes.thumshirn@....de>
To: <linux-edac@...r.kernel.org>
CC: Borislav Petkov <bp@...en8.de>, Dave Jiang <dave.jiang@...il.com>,
Doug Thompson <dougthompson@...ssion.com>,
Chunhe Lan <Chunhe.Lan@...escale.com>,
<linux-kernel@...r.kernel.org>,
Johannes Thumshirn <morbidrsa@...il.com>,
Johannes Thumshirn <johannes.thumshirn@....de>
Subject: [PATCH 3/3] edac/85xx: Remove mpc85xx_pci_err_remove
From: Johannes Thumshirn <morbidrsa@...il.com>
Remove mpc85xx_pci_err_remove(...) which is obsolete, this removes the compiler
warning which can be seen when building the driver either statically or as a
module.
Signed-off-by: Johannes Thumshirn <morbidrsa@...il.com>
Signed-off-by: Johannes Thumshirn <johannes.thumshirn@....de>
---
drivers/edac/mpc85xx_edac.c | 22 ----------------------
1 file changed, 22 deletions(-)
diff --git a/drivers/edac/mpc85xx_edac.c b/drivers/edac/mpc85xx_edac.c
index 8df5f4d..8f91821 100644
--- a/drivers/edac/mpc85xx_edac.c
+++ b/drivers/edac/mpc85xx_edac.c
@@ -403,28 +403,6 @@ err:
}
EXPORT_SYMBOL(mpc85xx_pci_err_probe);
-static int mpc85xx_pci_err_remove(struct platform_device *op)
-{
- struct edac_pci_ctl_info *pci = dev_get_drvdata(&op->dev);
- struct mpc85xx_pci_pdata *pdata = pci->pvt_info;
-
- edac_dbg(0, "\n");
-
- out_be32(pdata->pci_vbase + MPC85XX_PCI_ERR_CAP_DR,
- orig_pci_err_cap_dr);
-
- out_be32(pdata->pci_vbase + MPC85XX_PCI_ERR_EN, orig_pci_err_en);
-
- edac_pci_del_device(pci->dev);
-
- if (edac_op_state == EDAC_OPSTATE_INT)
- irq_dispose_mapping(pdata->irq);
-
- edac_pci_free_ctl_info(pci);
-
- return 0;
-}
-
#endif /* CONFIG_PCI */
/**************************** L2 Err device ***************************/
--
1.7.9.5
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists