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

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
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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;