diff options
author | Dongliang Mu <mudongliangabcd@gmail.com> | 2021-06-18 10:32:04 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2021-06-18 22:07:09 +0300 |
commit | 9fd2bc3206b31c8ff6d54d643730d4c3470471d6 (patch) | |
tree | 6c7f363bd8473e24e05cfba2417b2568e65e0a0c /net/caif/cfcnfg.c | |
parent | 9d72b8da9f13349be11914823d7bd8186c6a91ce (diff) | |
download | linux-9fd2bc3206b31c8ff6d54d643730d4c3470471d6.tar.xz |
net: caif: modify the label out_err to out
Modify the label out_err to out to avoid the meanless kfree.
Signed-off-by: Dongliang Mu <mudongliangabcd@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/caif/cfcnfg.c')
-rw-r--r-- | net/caif/cfcnfg.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/caif/cfcnfg.c b/net/caif/cfcnfg.c index cac30e676ac9..23267c8db7c4 100644 --- a/net/caif/cfcnfg.c +++ b/net/caif/cfcnfg.c @@ -480,7 +480,7 @@ got_phyid: phyinfo = kzalloc(sizeof(struct cfcnfg_phyinfo), GFP_ATOMIC); if (!phyinfo) { res = -ENOMEM; - goto out_err; + goto out; } phy_layer->id = phyid; |