net: mvmdio: remove duplicate locking
authorRussell King <rmk+kernel@armlinux.org.uk>
Thu, 15 Jun 2017 14:43:19 +0000 (16:43 +0200)
committerDavid S. Miller <davem@davemloft.net>
Fri, 16 Jun 2017 16:27:11 +0000 (12:27 -0400)
commit0caf0305a39e62d5cb33cfd1e98aa77a25768232
tree80d698af6eeed856a33f2c2fd82e1803bd1d1485
parentfd3ebd857895884c2567a7f4dfbf50ba49bd2eab
net: mvmdio: remove duplicate locking

The MDIO layer already provides per-bus locking, so there's no need for
MDIO bus drivers to do their own internal locking.  Remove this.

Signed-off-by: Russell King <rmk+kernel@armlinux.org.uk>
Reviewed-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/marvell/mvmdio.c