]> www.infradead.org Git - linux.git/commitdiff
ocxl: Remove the unused declarations in headr file
authorZhang Zekun <zhangzekun11@huawei.com>
Sat, 7 Sep 2024 08:25:55 +0000 (16:25 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 11 Sep 2024 14:03:20 +0000 (16:03 +0200)
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>
drivers/misc/ocxl/ocxl_internal.h

index 10125a22d5a534fe4eda25099631366cb3b7d4e1..d2028d6c6f08d294bc2cb87e1f4b2c64a5e26592 100644 (file)
@@ -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);