diff options
author | Sam Bobroff <sbobroff@linux.ibm.com> | 2018-05-25 13:11:31 +1000 |
---|---|---|
committer | Michael Ellerman <mpe@ellerman.id.au> | 2018-06-03 20:43:38 +1000 |
commit | a0bd54641be9df3a84f693035fbc2c31f7ca644e (patch) | |
tree | 3791d3343228edef6d690e6e734384c51121406c /arch/powerpc/kernel/eeh_driver.c | |
parent | 46d4be41b987a6b2d25a2ebdd94cafb44e21d6c5 (diff) |
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.c | 14 |
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 * |