* [PATCH] edac: mpc85xx_edac.c: Remove mpc85xx_pci_err_remove
@ 2013-06-24 18:59 Johannes Thumshirn
0 siblings, 0 replies; only message in thread
From: Johannes Thumshirn @ 2013-06-24 18:59 UTC (permalink / raw)
To: dougthompson; +Cc: linux-edac, linux-kernel, Johannes Thumshirn
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@gmail.com>
---
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 3eb32f6..fd46b0b 100644
--- a/drivers/edac/mpc85xx_edac.c
+++ b/drivers/edac/mpc85xx_edac.c
@@ -327,28 +327,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.8.3.1
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2013-06-24 18:55 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-06-24 18:59 [PATCH] edac: mpc85xx_edac.c: Remove mpc85xx_pci_err_remove Johannes Thumshirn
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).