Skip to content

Commit

Permalink
powerpc/eeh: Remove unused eeh_pcid_name()
Browse files Browse the repository at this point in the history
Signed-off-by: Sam Bobroff <sbobroff@linux.ibm.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
  • Loading branch information
Sam Bobroff authored and Michael Ellerman committed Jun 3, 2018
1 parent 46d4be4 commit a0bd546
Showing 1 changed file with 0 additions and 14 deletions.
14 changes: 0 additions & 14 deletions arch/powerpc/kernel/eeh_driver.c
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit a0bd546

Please sign in to comment.