pch_gbe: fix bogus trylock conversion
authorFlorian Westphal <fw@strlen.de>
Tue, 26 Apr 2016 21:14:30 +0000 (23:14 +0200)
committerDavid S. Miller <davem@davemloft.net>
Tue, 26 Apr 2016 21:36:33 +0000 (17:36 -0400)
commit0e7dd0c9c3cde901f79f04260aa706bbfdc0c67e
tree74e4b914940c1eb1ef9dd16910cdc7794eb06f93
parent50d5d2bd1d4273f1417135965a151e13f1f061c4
pch_gbe: fix bogus trylock conversion

Should have converted 'if (trylock)' to 'lock'.

Fixes: a6086a893718db ("drivers: net: remove NETDEV_TX_LOCKED")
Signed-off-by: Florian Westphal <fw@strlen.de>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/oki-semi/pch_gbe/pch_gbe_main.c