diff options
| author | 2014-09-25 14:22:20 -0700 | |
|---|---|---|
| committer | 2014-10-09 09:29:45 +0200 | |
| commit | 9ebac15f498121693168e61ff42d021cb8dac575 (patch) | |
| tree | ffa9e14e86095327e6d5e2394b1ea608955c5b0f | |
| parent | mac80211_hwsim: fix memory leak on netlink TX failure (diff) | |
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>
| -rw-r--r-- | drivers/net/wireless/mac80211_hwsim.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/net/wireless/mac80211_hwsim.c b/drivers/net/wireless/mac80211_hwsim.c index a74227d8a485..f1a0794b33f3 100644 --- a/drivers/net/wireless/mac80211_hwsim.c +++ b/drivers/net/wireless/mac80211_hwsim.c @@ -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; |
