OSDN Git Service
(root)
/
uclinux-h8
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9d72b8d
)
net: caif: modify the label out_err to out
author
Dongliang Mu
<mudongliangabcd@gmail.com>
Fri, 18 Jun 2021 07:32:04 +0000
(15:32 +0800)
committer
David S. Miller
<davem@davemloft.net>
Fri, 18 Jun 2021 19:07:09 +0000
(12:07 -0700)
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>
net/caif/cfcnfg.c
patch
|
blob
|
history
diff --git
a/net/caif/cfcnfg.c
b/net/caif/cfcnfg.c
index
cac30e6
..
23267c8
100644
(file)
--- 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;