commit | 2421ee24777e9f7effc4b6db29276eced7ca2114 | [log] [tgz] |
---|---|---|
author | Huazhong Tan <tanhuazhong@huawei.com> | Thu May 28 21:48:08 2020 +0800 |
committer | David S. Miller <davem@davemloft.net> | Thu May 28 16:39:03 2020 -0700 |
tree | 98e4923550dce9c93347661e8d78f8bc818b6c81 | |
parent | f4b992b461b31910a0ef5acbad0af4906cbaaae0 [diff] |
net: hns3: remove an unnecessary 'goto' in hclge_init_ae_dev() Remove the redundant 'goto' and return -ENOMEM directly, when allocating memory for 'hdev' fails in hclge_init_ae_dev(). Signed-off-by: Huazhong Tan <tanhuazhong@huawei.com> Signed-off-by: David S. Miller <davem@davemloft.net>