summaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorZhang Zekun <zhangzekun11@huawei.com>2024-09-07 16:25:55 +0800
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2024-09-11 16:03:20 +0200
commit0bad57708d7c16a409a2770e9e8c477a30b257c0 (patch)
treeadc1f4b50f4120f8453a3f3e97c3b6b9c4dee984 /drivers
parent619bac6a97b4eb32bdbbe4525eaecfcef59edc1b (diff)
ocxl: Remove the unused declarations in headr file
The definition of ocxl_create_cdev() and ocxl_destroy_cdev() has been removed since commit 75ca758adbaf ("ocxl: Create a clear delineation between ocxl backend & frontend"). So, let's remove the empty declarations. Signed-off-by: Zhang Zekun <zhangzekun11@huawei.com> Link: https://lore.kernel.org/r/20240907082555.60836-1-zhangzekun11@huawei.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/misc/ocxl/ocxl_internal.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/misc/ocxl/ocxl_internal.h b/drivers/misc/ocxl/ocxl_internal.h
index 10125a22d5a5..d2028d6c6f08 100644
--- a/drivers/misc/ocxl/ocxl_internal.h
+++ b/drivers/misc/ocxl/ocxl_internal.h
@@ -97,8 +97,6 @@ struct ocxl_process_element {
__be32 software_state;
};
-int ocxl_create_cdev(struct ocxl_afu *afu);
-void ocxl_destroy_cdev(struct ocxl_afu *afu);
int ocxl_file_register_afu(struct ocxl_afu *afu);
void ocxl_file_unregister_afu(struct ocxl_afu *afu);