Shayne Chen <shayne.chen@xxxxxxxxxxxx> writes: > If CONFIG_NL80211_TESTMODE is not set, the following compiler warning > appears: > > warning: 'mt7915_mac_tx_rate_val' defined but not used [-Wunused-function] > > Since mt7915_mac_tx_rate_val() is only used by > mt7915_mac_write_txwi_tm(), merge them to get rid of this warning. > > Fixes: 3ac860a ("mt76: mt7915: implement testmode tx support") Fixes line is wrong: https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches#fixes_line_is_incorrect -- https://patchwork.kernel.org/project/linux-wireless/list/ https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches