treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 500
[linux-2.6-microblaze.git] / net / mac80211 / rc80211_minstrel_ht.c
index 8b16872..298a1ac 100644 (file)
@@ -1,9 +1,6 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * Copyright (C) 2010-2013 Felix Fietkau <nbd@openwrt.org>
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License version 2 as
- * published by the Free Software Foundation.
  */
 #include <linux/netdevice.h>
 #include <linux/types.h>
@@ -998,8 +995,6 @@ minstrel_ht_update_rates(struct minstrel_priv *mp, struct minstrel_ht_sta *mi)
        }
 
        if (mp->hw->max_rates >= 2) {
-               /*
-                * At least 2 tx rates supported, use max_prob_rate next */
                minstrel_ht_set_rate(mp, mi, rates, i++, mi->max_prob_rate);
        }