]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commitdiff
mac80211_hwsim: fix typo, remove unnecessary goto
authorBen Greear <greearb@candelatech.com>
Thu, 25 Sep 2014 21:22:20 +0000 (14:22 -0700)
committerJohannes Berg <johannes.berg@intel.com>
Thu, 9 Oct 2014 07:29:45 +0000 (09:29 +0200)
Trivial cleanups.

Signed-off-by: Ben Greear <greearb@candelatech.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
drivers/net/wireless/mac80211_hwsim.c

index a74227d8a48591c2025116f77aa9a08d3da233c6..f1a0794b33f3843fcf73d824b5869810b51bfe66 100644 (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;