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>
This commit is contained in:
Dongliang Mu 2021-06-18 15:32:04 +08:00 committed by David S. Miller
parent 9d72b8da9f
commit 9fd2bc3206
1 changed files with 1 additions and 1 deletions

View File

@ -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;