tile: fix missing unlock on error in tile_net_open()
authorWei Yongjun <yongjun_wei@trendmicro.com.cn>
Mon, 5 Aug 2013 04:42:00 +0000 (12:42 +0800)
committerDavid S. Miller <davem@davemloft.net>
Mon, 5 Aug 2013 18:09:42 +0000 (11:09 -0700)
commit1155e964a616a9bd4b603f6f8bf4f47576b010c5
tree1a5edcdee5cfd19660ce666192eb576878840730
parentf094668ca1a3e326e4f3d75a5e3b32f949f417b8
tile: fix missing unlock on error in tile_net_open()

Add the missing unlock before return from function tile_net_open()
in the error handling case.

Introduced by commit f3286a3af89d6db7a488f3e8f02b98d67d50f00c.
(tile: support multiple mPIPE shims in tilegx network driver)

Signed-off-by: Wei Yongjun <yongjun_wei@trendmicro.com.cn>
Acked-by: Chris Metcalf <cmetcalf@tilera.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/tile/tilegx.c