mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 03:01:39 -04:00
cxl: Remove dead code
Function cxl_get_phys_dev() was removed from the kernel API by a previous patch, but it's actually dead code. Remove it. Signed-off-by: Frederic Barrat <[email protected]> Acked-by: Ian Munsie <[email protected]> Reviewed-by: Andrew Donnellan <[email protected]> Acked-by: Michael Neuling <[email protected]> Signed-off-by: Michael Ellerman <[email protected]>
This commit is contained in:
parent
bdf5fc6338
commit
d88e397f12
1 changed files with 0 additions and 9 deletions
|
|
@ -68,15 +68,6 @@ struct cxl_context *cxl_get_context(struct pci_dev *dev)
|
|||
}
|
||||
EXPORT_SYMBOL_GPL(cxl_get_context);
|
||||
|
||||
struct device *cxl_get_phys_dev(struct pci_dev *dev)
|
||||
{
|
||||
struct cxl_afu *afu;
|
||||
|
||||
afu = cxl_pci_to_afu(dev);
|
||||
|
||||
return afu->adapter->dev.parent;
|
||||
}
|
||||
|
||||
int cxl_release_context(struct cxl_context *ctx)
|
||||
{
|
||||
if (ctx->status >= STARTED)
|
||||
|
|
|
|||
Loading…
Reference in a new issue