summaryrefslogtreecommitdiffstats
path: root/arch/powerpc/kernel/eeh_driver.c
diff options
context:
space:
mode:
authorSam Bobroff <sbobroff@linux.ibm.com>2018-05-25 05:11:31 +0200
committerMichael Ellerman <mpe@ellerman.id.au>2018-06-03 12:43:38 +0200
commita0bd54641be9df3a84f693035fbc2c31f7ca644e (patch)
tree3791d3343228edef6d690e6e734384c51121406c /arch/powerpc/kernel/eeh_driver.c
parentpowerpc/eeh: Fix use-after-release of EEH driver (diff)
downloadlinux-a0bd54641be9df3a84f693035fbc2c31f7ca644e.tar.xz
linux-a0bd54641be9df3a84f693035fbc2c31f7ca644e.zip
powerpc/eeh: Remove unused eeh_pcid_name()
Signed-off-by: Sam Bobroff <sbobroff@linux.ibm.com> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Diffstat (limited to 'arch/powerpc/kernel/eeh_driver.c')
-rw-r--r--arch/powerpc/kernel/eeh_driver.c14
1 files changed, 0 insertions, 14 deletions
diff --git a/arch/powerpc/kernel/eeh_driver.c b/arch/powerpc/kernel/eeh_driver.c
index 54333f6c9d67..ca9a73fe9cc5 100644
--- a/arch/powerpc/kernel/eeh_driver.c
+++ b/arch/powerpc/kernel/eeh_driver.c
@@ -40,20 +40,6 @@ struct eeh_rmv_data {
};
/**
- * eeh_pcid_name - Retrieve name of PCI device driver
- * @pdev: PCI device
- *
- * This routine is used to retrieve the name of PCI device driver
- * if that's valid.
- */
-static inline const char *eeh_pcid_name(struct pci_dev *pdev)
-{
- if (pdev && pdev->dev.driver)
- return pdev->dev.driver->name;
- return "";
-}
-
-/**
* eeh_pcid_get - Get the PCI device driver
* @pdev: PCI device
*