Commit d88e397f authored by Frederic Barrat's avatar Frederic Barrat Committed by Michael Ellerman

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: default avatarFrederic Barrat <fbarrat@linux.vnet.ibm.com>
Acked-by: default avatarIan Munsie <imunsie@au1.ibm.com>
Reviewed-by: default avatarAndrew Donnellan <andrew.donnellan@au1.ibm.com>
Acked-by: default avatarMichael Neuling <mikey@neuling.org>
Signed-off-by: default avatarMichael Ellerman <mpe@ellerman.id.au>
parent bdf5fc63
...@@ -68,15 +68,6 @@ struct cxl_context *cxl_get_context(struct pci_dev *dev) ...@@ -68,15 +68,6 @@ struct cxl_context *cxl_get_context(struct pci_dev *dev)
} }
EXPORT_SYMBOL_GPL(cxl_get_context); 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) int cxl_release_context(struct cxl_context *ctx)
{ {
if (ctx->status >= STARTED) if (ctx->status >= STARTED)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment