net: ethernet: octeontx-83xx: Remove unused octeontx_fpavf_alloc_lock mutex

The octeontx_fpavf_alloc_lock mutex was originally added in SDK commit
b32eb18378 ("octeontx-83: domain based driver for 83xx") but has remained
unused since its introduction. This patch removes the unnecessary mutex
to clean up the code and eliminate the associated build warning.

Signed-off-by: Kevin Hao <kexin.hao@windriver.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
This commit is contained in:
Kevin Hao 2025-06-28 21:54:56 +08:00 committed by Bruce Ashfield
parent 9fbc7ee357
commit b26bd7a816

View File

@ -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