mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 19:21:31 -04:00
mac802154: use goto label on failure
Signed-off-by: Varka Bhadram <[email protected]> Reviewed-by: Stefan Schmidt <[email protected]> Acked-by: Alexander Aring <[email protected]> Signed-off-by: Marcel Holtmann <[email protected]>
This commit is contained in:
parent
da25cf6a98
commit
bcb47aabf4
1 changed files with 1 additions and 2 deletions
|
|
@ -85,8 +85,7 @@ ieee802154_subif_frame(struct ieee802154_sub_if_data *sdata,
|
|||
default:
|
||||
spin_unlock_bh(&sdata->mib_lock);
|
||||
pr_debug("invalid dest mode\n");
|
||||
kfree_skb(skb);
|
||||
return NET_RX_DROP;
|
||||
goto fail;
|
||||
}
|
||||
|
||||
spin_unlock_bh(&sdata->mib_lock);
|
||||
|
|
|
|||
Loading…
Reference in a new issue