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

The SDK commit 37c4a44aefd2 ("octeontx-83: domain based driver for
83xx") introduced an unused mutex. Drop it to fix the build warning.

Signed-off-by: Kevin Hao <kexin....@windriver.com>
---
 drivers/net/ethernet/cavium/octeontx-83xx/fpavf_main.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/drivers/net/ethernet/cavium/octeontx-83xx/fpavf_main.c 
b/drivers/net/ethernet/cavium/octeontx-83xx/fpavf_main.c
index 5ceb7ede2bd4..67b77b005be6 100644
--- a/drivers/net/ethernet/cavium/octeontx-83xx/fpavf_main.c
+++ b/drivers/net/ethernet/cavium/octeontx-83xx/fpavf_main.c
@@ -24,7 +24,6 @@ module_param(setup_test, int, 0644);
 MODULE_PARM_DESC(setup_test, "does a test after doing setup");
 
 static DEFINE_MUTEX(octeontx_fpavf_devices_lock);
-static DEFINE_MUTEX(octeontx_fpavf_alloc_lock);
 static LIST_HEAD(octeontx_fpavf_devices);
 
 /* In Cavium OcteonTX SoCs, all accesses to the device registers are

-- 
2.45.1

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#14094): 
https://lists.yoctoproject.org/g/linux-yocto/message/14094
Mute This Topic: https://lists.yoctoproject.org/mt/106829798/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