diff options
author | Huazhong Tan <tanhuazhong@huawei.com> | 2020-05-28 16:48:08 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2020-05-29 02:39:03 +0300 |
commit | 2421ee24777e9f7effc4b6db29276eced7ca2114 (patch) | |
tree | 98e4923550dce9c93347661e8d78f8bc818b6c81 /tools/perf/scripts/python/syscall-counts-by-pid.py | |
parent | f4b992b461b31910a0ef5acbad0af4906cbaaae0 (diff) | |
download | linux-2421ee24777e9f7effc4b6db29276eced7ca2114.tar.xz |
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>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts-by-pid.py')
0 files changed, 0 insertions, 0 deletions