mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-17 17:24:17 +08:00
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>
This commit is contained in:
parent
46d4be41b9
commit
a0bd54641b
@ -39,20 +39,6 @@ struct eeh_rmv_data {
|
||||
int removed;
|
||||
};
|
||||
|
||||
/**
|
||||
* 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
|
||||
|
Loading…
Reference in New Issue
Block a user