Commit 9ebac15f authored by Ben Greear's avatar Ben Greear Committed by Johannes Berg

mac80211_hwsim: fix typo, remove unnecessary goto

Trivial cleanups.
Signed-off-by: default avatarBen Greear <greearb@candelatech.com>
Signed-off-by: default avatarJohannes Berg <johannes.berg@intel.com>
parent b7bc9679
...@@ -436,7 +436,7 @@ struct mac80211_hwsim_data { ...@@ -436,7 +436,7 @@ struct mac80211_hwsim_data {
/* /*
* Only radios in the same group can communicate together (the * Only radios in the same group can communicate together (the
* channel has to match too). Each bit represents a group. A * channel has to match too). Each bit represents a group. A
* radio can be in more then one group. * radio can be in more than one group.
*/ */
u64 group; u64 group;
...@@ -2392,7 +2392,6 @@ static int hwsim_cloned_frame_received_nl(struct sk_buff *skb_2, ...@@ -2392,7 +2392,6 @@ static int hwsim_cloned_frame_received_nl(struct sk_buff *skb_2,
return 0; return 0;
err: err:
printk(KERN_DEBUG "mac80211_hwsim: error occurred in %s\n", __func__); printk(KERN_DEBUG "mac80211_hwsim: error occurred in %s\n", __func__);
goto out;
out: out:
dev_kfree_skb(skb); dev_kfree_skb(skb);
return -EINVAL; return -EINVAL;
......
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