diff options
| author | Huazhong Tan <tanhuazhong@huawei.com> | 2020-05-28 21:48:08 +0800 |
|---|---|---|
| committer | David S. Miller <davem@davemloft.net> | 2020-05-28 16:39:03 -0700 |
| commit | 2421ee24777e9f7effc4b6db29276eced7ca2114 (patch) | |
| tree | 98e4923550dce9c93347661e8d78f8bc818b6c81 /net/lapb/lapb_timer.c | |
| 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>
Diffstat (limited to 'net/lapb/lapb_timer.c')
0 files changed, 0 insertions, 0 deletions
