]> git.baikalelectronics.ru Git - kernel.git/commit
net: hns3: add a missing mutex destroy in hclge_init_ad_dev()
authorHuazhong Tan <tanhuazhong@huawei.com>
Thu, 28 May 2020 13:48:09 +0000 (21:48 +0800)
committerDavid S. Miller <davem@davemloft.net>
Thu, 28 May 2020 23:39:03 +0000 (16:39 -0700)
commit988762292bc1e574fa0d74371f8fe5f402fc862f
tree258bd791da451daec91ff4612059b7caf32db7c3
parenta73877e3aa02bc159a08ccc2f26cc67ea99ca7ec
net: hns3: add a missing mutex destroy in hclge_init_ad_dev()

Add a mutex destroy call in hclge_init_ae_dev() when fails.

Signed-off-by: Huazhong Tan <tanhuazhong@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c