mirror of
git://git.yoctoproject.org/linux-yocto.git
synced 2025-07-05 13:25:20 +02:00
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:
parent
9fbc7ee357
commit
b26bd7a816
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue
Block a user