Commit 9fd2bc32 authored by Dongliang Mu's avatar Dongliang Mu Committed by David S. Miller

net: caif: modify the label out_err to out

Modify the label out_err to out to avoid the meanless kfree.
Signed-off-by: default avatarDongliang Mu <mudongliangabcd@gmail.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 9d72b8da
......@@ -480,7 +480,7 @@ cfcnfg_add_phy_layer(struct cfcnfg *cnfg,
phyinfo = kzalloc(sizeof(struct cfcnfg_phyinfo), GFP_ATOMIC);
if (!phyinfo) {
res = -ENOMEM;
goto out_err;
goto out;
}
phy_layer->id = phyid;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment