mac80211_hwsim: fix typo, remove unnecessary goto

Trivial cleanups.

Signed-off-by: Ben Greear <greearb@candelatech.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
This commit is contained in:
Ben Greear 2014-09-25 14:22:20 -07:00 committed by Johannes Berg
parent b7bc9679e4
commit 9ebac15f49
1 changed files with 1 additions and 2 deletions

View File

@ -436,7 +436,7 @@ struct mac80211_hwsim_data {
/*
* Only radios in the same group can communicate together (the
* 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;
@ -2392,7 +2392,6 @@ static int hwsim_cloned_frame_received_nl(struct sk_buff *skb_2,
return 0;
err:
printk(KERN_DEBUG "mac80211_hwsim: error occurred in %s\n", __func__);
goto out;
out:
dev_kfree_skb(skb);
return -EINVAL;