Skip to content
Commit d53793c5 authored by Marcin Wojtas's avatar Marcin Wojtas Committed by David S. Miller
Browse files

net: mvpp2: remove excessive spinlocks from driver initialization



Using spinlocks protection during one-time driver initialization is not
necessary. Moreover it resulted in invalid GFP_KERNEL allocation under the lock.

This commit removes redundant spinlocks from buffer manager part of mvpp2
initialization.

Signed-off-by: default avatarMarcin Wojtas <mw@semihalf.com>
Reported-by: default avatarAlexandre Fournier <alexandre.fournier@wisp-e.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent fe1e1876
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