From: Kevin Hao <kexin....@windriver.com>

This overlay_lock was introduced by commit 6d4653237dc37 ("OF:
DT-Overlay configfs interface (v8)"), but it was never used since then.
Drop it to fix the below build error:
  drivers/of/configfs.c:46:21: error: ‘overlay_lock’ defined but not used 
[-Werror=unused-variable]
     46 | static DEFINE_MUTEX(overlay_lock);
        |                     ^~~~~~~~~~~~

Signed-off-by: Kevin Hao <kexin....@windriver.com>
---
Hi Bruce,

Please merge this into the following two branches:
  v6.6/standard/intel-sdk-6.6/intel-socfpga
  v6.6/standard/preempt-rt/intel-sdk-6.6/intel-socfpga
---
 drivers/of/configfs.c | 2 --
 1 file changed, 2 deletions(-)

diff --git a/drivers/of/configfs.c b/drivers/of/configfs.c
index 3839f14dc893..cbaf0bf04381 100644
--- a/drivers/of/configfs.c
+++ b/drivers/of/configfs.c
@@ -43,8 +43,6 @@ struct cfs_overlay_item {
        void                    *mem;
 };
 
-static DEFINE_MUTEX(overlay_lock);
-
 static int create_overlay(struct cfs_overlay_item *overlay, void *blob)
 {
        int err;

---
base-commit: 843d612d48f9cdad611d459ba6c12b304fe43c02
change-id: 20240908-socfpga-1c2ed1e4a5da

Best regards,
-- 
Kevin Hao <haoke...@gmail.com>

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#14378): 
https://lists.yoctoproject.org/g/linux-yocto/message/14378
Mute This Topic: https://lists.yoctoproject.org/mt/108334056/21656
Group Owner: linux-yocto+ow...@lists.yoctoproject.org
Unsubscribe: https://lists.yoctoproject.org/g/linux-yocto/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to