commit | e3afa96365c916319a1068ac50b838b2256cc6df | [log] [tgz] |
---|---|---|
author | Fuyun Liang <liangfuyun1@huawei.com> | Tue May 15 19:20:07 2018 +0100 |
committer | David S. Miller <davem@davemloft.net> | Wed May 16 11:33:07 2018 -0400 |
tree | 446f955cb9df76a6a59d80e6825f4f7a4e7b2673 | |
parent | 3e249d3bed677f18a8a9b87b2b9cf1beaeef886c [diff] |
net: hns3: Add a check for client instance init state If the client instance is initializd failed, we do not need to uninit it. This patch adds a state check to check init state of client instance. Fixes: 38caee9d3ee8 ("net: hns3: Add support of the HNAE3 framework") Signed-off-by: Fuyun Liang <liangfuyun1@huawei.com> Signed-off-by: Peng Li <lipeng321@huawei.com> Signed-off-by: Salil Mehta <salil.mehta@huawei.com> Signed-off-by: David S. Miller <davem@davemloft.net>