Skip to content
Commit 6fa97323 authored by Ruiqiang Hao's avatar Ruiqiang Hao Committed by Bruce Ashfield
Browse files

net: cavium: remove unused lock octeontx_fpavf_alloc_lock

commit d38c2fb1

(octeontx-83: domain based driver for 83xx) defined
octeontx_fpavf_alloc_lock but not used in code, this will cause build
warning below, remove this mutex lock to fix.

drivers/net/ethernet/cavium/octeontx-83xx/fpavf_main.c:27:21: warning: 'octeontx_fpavf_alloc_lock' defined but not used [-Wunused-variable]
  27 | static DEFINE_MUTEX(octeontx_fpavf_alloc_lock);
     |                     ^~~~~~~~~~~~~~~~~~~~~~~~~

Signed-off-by: default avatarRuiqiang Hao <Ruiqiang.Hao@windriver.com>
Signed-off-by: default avatarBruce Ashfield <bruce.ashfield@gmail.com>
parent c55e7717
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment