diff options
author | Sunil Goutham <sgoutham@marvell.com> | 2020-03-21 00:27:26 +0530 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2020-03-23 21:11:44 -0700 |
commit | 4c3212f59c7167ef909d1dfad268dd6d4862d4b1 (patch) | |
tree | 4ec1006daa231b63bf8efa2ef0b937bea47dd666 /drivers/net/ethernet/marvell/octeontx2/nic/otx2_vf.c | |
parent | fc992e33f17671ed6f0e79eda873c2ffd10f372e (diff) |
octeontx2-pf: Remove wrapper APIs for mutex lock and unlock
This patch removes wrapper fn()s around mutex_init/lock/unlock.
Signed-off-by: Sunil Goutham <sgoutham@marvell.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/marvell/octeontx2/nic/otx2_vf.c')
-rw-r--r-- | drivers/net/ethernet/marvell/octeontx2/nic/otx2_vf.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/ethernet/marvell/octeontx2/nic/otx2_vf.c b/drivers/net/ethernet/marvell/octeontx2/nic/otx2_vf.c index b2727b64afa8..187c633a7af5 100644 --- a/drivers/net/ethernet/marvell/octeontx2/nic/otx2_vf.c +++ b/drivers/net/ethernet/marvell/octeontx2/nic/otx2_vf.c @@ -323,7 +323,7 @@ static int otx2vf_vfaf_mbox_init(struct otx2_nic *vf) INIT_WORK(&mbox->mbox_wrk, otx2vf_vfaf_mbox_handler); INIT_WORK(&mbox->mbox_up_wrk, otx2vf_vfaf_mbox_up_handler); - otx2_mbox_lock_init(&vf->mbox); + mutex_init(&mbox->lock); return 0; exit: |