diff mbox series

fpga: remove empty release functions

Message ID 20210519145844.1962294-1-trix@redhat.com (mailing list archive)
State New
Headers show
Series fpga: remove empty release functions | expand

Commit Message

Tom Rix May 19, 2021, 2:58 p.m. UTC
From: Tom Rix <trix@redhat.com>

Unneeded functions, so remove.

Signed-off-by: Tom Rix <trix@redhat.com>
---
 drivers/fpga/fpga-bridge.c | 5 -----
 drivers/fpga/fpga-mgr.c    | 5 -----
 drivers/fpga/fpga-region.c | 5 -----
 3 files changed, 15 deletions(-)
diff mbox series

Patch

diff --git a/drivers/fpga/fpga-bridge.c b/drivers/fpga/fpga-bridge.c
index e9266b2a357f6..6510c7803a784 100644
--- a/drivers/fpga/fpga-bridge.c
+++ b/drivers/fpga/fpga-bridge.c
@@ -473,10 +473,6 @@  void fpga_bridge_unregister(struct fpga_bridge *bridge)
 }
 EXPORT_SYMBOL_GPL(fpga_bridge_unregister);
 
-static void fpga_bridge_dev_release(struct device *dev)
-{
-}
-
 static int __init fpga_bridge_dev_init(void)
 {
 	fpga_bridge_class = class_create(THIS_MODULE, "fpga_bridge");
@@ -484,7 +480,6 @@  static int __init fpga_bridge_dev_init(void)
 		return PTR_ERR(fpga_bridge_class);
 
 	fpga_bridge_class->dev_groups = fpga_bridge_groups;
-	fpga_bridge_class->dev_release = fpga_bridge_dev_release;
 
 	return 0;
 }
diff --git a/drivers/fpga/fpga-mgr.c b/drivers/fpga/fpga-mgr.c
index b85bc47c91a9a..e0e1835beab77 100644
--- a/drivers/fpga/fpga-mgr.c
+++ b/drivers/fpga/fpga-mgr.c
@@ -779,10 +779,6 @@  int devm_fpga_mgr_register(struct device *dev, struct fpga_manager *mgr)
 }
 EXPORT_SYMBOL_GPL(devm_fpga_mgr_register);
 
-static void fpga_mgr_dev_release(struct device *dev)
-{
-}
-
 static int __init fpga_mgr_class_init(void)
 {
 	pr_info("FPGA manager framework\n");
@@ -792,7 +788,6 @@  static int __init fpga_mgr_class_init(void)
 		return PTR_ERR(fpga_mgr_class);
 
 	fpga_mgr_class->dev_groups = fpga_mgr_groups;
-	fpga_mgr_class->dev_release = fpga_mgr_dev_release;
 
 	return 0;
 }
diff --git a/drivers/fpga/fpga-region.c b/drivers/fpga/fpga-region.c
index c3134b89c3fe5..ddaca70b21de5 100644
--- a/drivers/fpga/fpga-region.c
+++ b/drivers/fpga/fpga-region.c
@@ -314,10 +314,6 @@  void fpga_region_unregister(struct fpga_region *region)
 }
 EXPORT_SYMBOL_GPL(fpga_region_unregister);
 
-static void fpga_region_dev_release(struct device *dev)
-{
-}
-
 /**
  * fpga_region_init - init function for fpga_region class
  * Creates the fpga_region class and registers a reconfig notifier.
@@ -329,7 +325,6 @@  static int __init fpga_region_init(void)
 		return PTR_ERR(fpga_region_class);
 
 	fpga_region_class->dev_groups = fpga_region_groups;
-	fpga_region_class->dev_release = fpga_region_dev_release;
 
 	return 0;
 }